Skip to content

Commit b5e1b4a

Browse files
authored
ci: disable swift syntax prebuilts
1 parent 842a665 commit b5e1b4a

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/workflows/analyze.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
source-root: ${{ inputs.source-root }}
5151

5252
- name: Build package products
53-
run: swift build --build-tests
53+
run: swift build --disable-experimental-prebuilts --build-tests
5454

5555
- name: Perform CodeQL Analysis
5656
uses: github/codeql-action/analyze@v3

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272

7373
- name: Build package products and documentation
7474
run: |
75-
swift build -Xswiftc -emit-symbol-graph -Xswiftc -emit-extension-block-symbols -Xswiftc -emit-symbol-graph-dir -Xswiftc .build
75+
swift build --disable-experimental-prebuilts -Xswiftc -emit-symbol-graph -Xswiftc -emit-extension-block-symbols -Xswiftc -emit-symbol-graph-dir -Xswiftc .build
7676
npm run build-doc
7777
npm run serve-doc
7878
npm run archive

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Build package documentation
5151
if: steps.precondition.outputs.proceed == 'true' && steps.check_version_bump.outputs.release_type == ''
5252
run: |
53-
swift build -Xswiftc -emit-symbol-graph -Xswiftc -emit-symbol-graph-dir -Xswiftc .build
53+
swift build --disable-experimental-prebuilts -Xswiftc -emit-symbol-graph -Xswiftc -emit-symbol-graph-dir -Xswiftc .build
5454
npm run serve-doc
5555
5656
- name: Update GitHub Pages

bin/build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { execSync } from 'child_process';
44
import core from '@actions/core';
55

66
const args = process.argv.slice(2).join(' ');
7-
const command = `swift build ${args} --verbose \
7+
const command = `swift build ${args} --disable-experimental-prebuilts --verbose \
88
-Xswiftc \
99
-emit-symbol-graph \
1010
-Xswiftc \

bin/generate.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));
1111
if (argv['generate-linuxmain'] == true) {
1212
core.startGroup(`Generating LinuxMain for swift package`);
1313
execSync(
14-
`swift test --verbose --generate-linuxmain`, {
14+
`swift test --disable-experimental-prebuilts --verbose --generate-linuxmain`, {
1515
stdio: ['inherit', 'inherit', 'inherit'],
1616
encoding: 'utf-8'
1717
}

bin/test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { execSync } from 'child_process';
44
import core from '@actions/core';
55

66
const args = process.argv.slice(2).join(' ');
7-
const command = `swift test ${args} --verbose \
7+
const command = `swift test ${args} --disable-experimental-prebuilts --verbose \
88
--enable-code-coverage \
99
--enable-test-discovery`;
1010

0 commit comments

Comments
 (0)