@@ -1409,182 +1409,157 @@ skip-test-osx
1409
1409
1410
1410
1411
1411
# ===------------------------------------------------------------------------===#
1412
- # Test swiftPM on macOS builder
1412
+ # Mixins for LLBuild, SwiftPM and downstream package project PR tests.
1413
1413
# ===------------------------------------------------------------------------===#
1414
-
1415
- [preset: buildbot_swiftpm_macos_platform,tools=RA,stdlib=RA]
1416
- mixin-preset =
1417
- buildbot_incremental_base
1418
- mixin_buildbot_install_components_with_clang
1419
-
1414
+ [preset: mixin_swiftpm_base]
1415
+ mixin-preset =buildbot_incremental_base
1420
1416
build-subdir =buildbot_incremental
1421
1417
1422
- # Build Release without debug info, because it is faster to build.
1423
- release
1424
- assertions
1425
-
1426
1418
libcxx
1427
-
1428
- # Build llbuild & swiftpm here
1429
1419
llbuild
1430
1420
swiftpm
1431
1421
1432
- sourcekit-lsp
1433
-
1434
1422
install-swift
1435
1423
install-llbuild
1436
1424
install-swiftpm
1437
1425
install-libcxx
1438
1426
1439
- dash-dash
1440
-
1441
1427
skip-test-swift
1442
1428
skip-test-cmark
1443
- skip-test-llbuild
1444
1429
1445
- # ===------------------------------------------------------------------------===#
1446
- # Test swiftPM on Linux builder
1447
- # ===------------------------------------------------------------------------===#
1430
+ [preset: mixin_swiftpm_macos_platform]
1431
+ mixin-preset =
1432
+ mixin_swiftpm_base
1433
+ mixin_buildbot_install_components_with_clang
1448
1434
1449
- [preset: buildbot_swiftpm_linux_platform,tools=RA,stdlib=RA ]
1435
+ [preset: mixin_swiftpm_linux_platform ]
1450
1436
mixin-preset =
1451
- buildbot_incremental_base
1437
+ mixin_swiftpm_base
1452
1438
mixin_linux_install_components_with_clang
1453
1439
1454
- build-subdir =buildbot_incremental
1455
-
1456
- # Build Release without debug info, because it is faster to build.
1457
- release
1458
- assertions
1459
-
1460
- swiftpm
1461
-
1462
- xctest
1463
- foundation
1464
1440
libdispatch
1465
- llbuild
1466
- libcxx
1467
- sourcekit-lsp
1441
+ foundation
1442
+ xctest
1468
1443
1469
- install-swift
1470
- install-llbuild
1471
- install-swiftpm
1472
1444
install-foundation
1473
1445
install-libdispatch
1474
1446
install-xctest
1475
- install-libcxx
1476
1447
1477
- skip-test-swift
1478
- skip-test-cmark
1479
- skip-test-llbuild
1480
- skip-test-libdispatch
1481
1448
skip-test-foundation
1449
+ skip-test-libdispatch
1482
1450
skip-test-xctest
1483
1451
1452
+ # Builds enough of the the toolchain to build a swift pacakge on macOS.
1453
+ [preset: mixin_swiftpm_package_macos_platform]
1454
+ mixin-preset =mixin_swiftpm_macos_platform
1455
+
1456
+ # Build stdlib for all platforms.
1457
+ ios
1458
+ tvos
1459
+ watchos
1460
+
1461
+ skip-test-llbuild
1462
+ skip-test-swiftpm
1463
+
1464
+ # Builds enough of the the toolchain to build a swift pacakge on Linux.
1465
+ [preset: mixin_swiftpm_package_linux_platform]
1466
+ mixin-preset =mixin_swiftpm_linux_platform
1467
+
1468
+ skip-test-llbuild
1469
+ skip-test-swiftpm
1470
+
1471
+
1484
1472
# ===------------------------------------------------------------------------===#
1485
- # Test llbuild on macOS builder
1473
+ # Test swiftPM on macOS builder
1486
1474
# ===------------------------------------------------------------------------===#
1487
1475
1488
- [preset: buildbot_llbuild_macos_platform,tools=RA,stdlib=RA]
1489
- mixin-preset =buildbot_incremental_base
1490
-
1491
- build-subdir =buildbot_incremental
1476
+ [preset: buildbot_swiftpm_macos_platform,tools=RA,stdlib=RA]
1477
+ mixin-preset =mixin_swiftpm_macos_platform
1492
1478
1493
1479
# Build Release without debug info, because it is faster to build.
1494
1480
release
1495
1481
assertions
1496
1482
1497
- # Build llbuild & swiftpm here
1498
- llbuild
1499
- swiftpm
1500
-
1501
- dash-dash
1483
+ # Downstream projects that import llbuild+SwiftPM.
1484
+ sourcekit-lsp
1502
1485
1503
- skip-test-swift
1504
- skip-test-cmark
1486
+ skip-test-llbuild
1505
1487
1506
1488
# ===------------------------------------------------------------------------===#
1507
- # Test Swift Packages
1489
+ # Test swiftPM on Linux builder
1508
1490
# ===------------------------------------------------------------------------===#
1509
1491
1510
- [preset: buildbot_swiftpm_package_base]
1511
- mixin-preset =buildbot_incremental_base
1512
-
1513
- build-subdir =buildbot_incremental
1492
+ [preset: buildbot_swiftpm_linux_platform,tools=RA,stdlib=RA]
1493
+ mixin-preset =mixin_swiftpm_linux_platform
1514
1494
1495
+ # Build Release without debug info, because it is faster to build.
1515
1496
release
1516
1497
assertions
1517
1498
1518
- libcxx
1519
- llbuild
1520
- swiftpm
1521
- indexstore-db
1499
+ # Downstream projects that import llbuild+SwiftPM.
1522
1500
sourcekit-lsp
1523
1501
1524
- install-swift
1525
- install-llbuild
1526
- install-swiftpm
1527
- install-libcxx
1528
-
1529
- skip-test-swift
1530
- skip-test-cmark
1531
1502
skip-test-llbuild
1532
- skip-test-swiftpm
1533
1503
1534
- [preset: buildbot_swiftpm_package_macos]
1535
- mixin-preset =
1536
- buildbot_swiftpm_package_base
1537
- mixin_buildbot_install_components_with_clang
1504
+ # ===------------------------------------------------------------------------===#
1505
+ # Test llbuild on macOS builder
1506
+ # ===------------------------------------------------------------------------===#
1538
1507
1539
- # Build stdlib for all platforms.
1540
- ios
1541
- tvos
1542
- watchos
1508
+ [preset: buildbot_llbuild_macos_platform,tools=RA,stdlib=RA]
1509
+ mixin-preset =mixin_swiftpm_macos_platform
1543
1510
1544
- [preset: buildbot_swiftpm_package_linux]
1545
- mixin-preset =
1546
- buildbot_swiftpm_package_base
1547
- mixin_linux_install_components_with_clang
1511
+ # Build Release without debug info, because it is faster to build.
1512
+ release
1513
+ assertions
1548
1514
1549
- libdispatch
1550
- foundation
1551
- xctest
1515
+ # Downstream projects that import llbuild+SwiftPM.
1516
+ sourcekit-lsp
1552
1517
1553
- install-foundation
1554
- install-libdispatch
1555
- install-xctest
1518
+ # ===------------------------------------------------------------------------===#
1519
+ # Test llbuild on Linux builder
1520
+ # ===------------------------------------------------------------------------===#
1556
1521
1557
- skip-test-foundation
1558
- skip-test-libdispatch
1559
- skip-test-xctest
1522
+ [preset: buildbot_llbuild_linux_platform,tools=RA,stdlib=RA]
1523
+ mixin-preset =mixin_swiftpm_linux_platform
1524
+
1525
+ # Build Release without debug info, because it is faster to build.
1526
+ release
1527
+ assertions
1528
+
1529
+ # Downstream projects that import llbuild+SwiftPM.
1530
+ sourcekit-lsp
1560
1531
1561
1532
# ===------------------------------------------------------------------------===#
1562
1533
# Test SourceKit-LSP
1563
1534
# ===------------------------------------------------------------------------===#
1564
1535
1565
1536
[preset: buildbot_sourcekitlsp_macos]
1566
- mixin-preset =buildbot_swiftpm_package_macos
1567
-
1537
+ mixin-preset =mixin_swiftpm_package_macos_platform
1538
+ release
1539
+ assertions
1568
1540
sourcekit-lsp
1569
1541
1570
1542
[preset: buildbot_sourcekitlsp_linux]
1571
- mixin-preset =buildbot_swiftpm_package_linux
1572
-
1543
+ mixin-preset =mixin_swiftpm_package_linux_platform
1544
+ release
1545
+ assertions
1573
1546
sourcekit-lsp
1574
1547
1575
1548
# ===------------------------------------------------------------------------===#
1576
1549
# Test IndexStore-DB
1577
1550
# ===------------------------------------------------------------------------===#
1578
1551
1579
1552
[preset: buildbot_indexstoredb_macos]
1580
- mixin-preset =buildbot_swiftpm_package_macos
1581
-
1553
+ mixin-preset =mixin_swiftpm_package_macos_platform
1554
+ release
1555
+ assertions
1582
1556
indexstore-db
1583
1557
sourcekit-lsp
1584
1558
1585
1559
[preset: buildbot_indexstoredb_linux]
1586
- mixin-preset =buildbot_swiftpm_package_linux
1587
-
1560
+ mixin-preset =mixin_swiftpm_package_linux_platform
1561
+ release
1562
+ assertions
1588
1563
indexstore-db
1589
1564
sourcekit-lsp
1590
1565
0 commit comments