Skip to content

Commit e062f22

Browse files
committed
debugging linux x86 issue
1 parent cc44c2d commit e062f22

File tree

11 files changed

+1282
-116
lines changed

11 files changed

+1282
-116
lines changed

.github/workflows/pull_request.yml

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ on:
55
types: [opened, reopened, synchronize]
66

77
jobs:
8-
soundness:
9-
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
10-
with:
11-
api_breakage_check_enabled: false
12-
# FIXME: Something is off with the format task and it gets "stuck", need to investigate
13-
format_check_enabled: false
14-
license_header_check_project_name: Swift.org
8+
# soundness:
9+
# uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
10+
# with:
11+
# api_breakage_check_enabled: false
12+
# # FIXME: Something is off with the format task and it gets "stuck", need to investigate
13+
# format_check_enabled: false
14+
# license_header_check_project_name: Swift.org
1515

1616
test-java:
1717
name: Java tests (swift:${{ matrix.swift_version }} jdk:${{matrix.jdk_vendor}} os:${{ matrix.os_version }})
@@ -62,53 +62,53 @@ jobs:
6262
find .
6363
./gradlew build --info --no-daemon
6464
65-
test-swift:
66-
name: Swift tests (swift:${{ matrix.swift_version }} jdk:${{matrix.jdk_vendor}} os:${{ matrix.os_version }})
67-
runs-on: ubuntu-latest
68-
strategy:
69-
fail-fast: false
70-
matrix:
71-
swift_version: ['nightly-main']
72-
os_version: ['jammy']
73-
jdk_vendor: ['Corretto']
74-
container:
75-
image: ${{ (contains(matrix.swift_version, 'nightly') && 'swiftlang/swift') || 'swift' }}:${{ matrix.swift_version }}-${{ matrix.os_version }}
76-
env:
77-
JAVA_HOME: "/usr/lib/jvm/default-jdk"
78-
steps:
79-
- uses: actions/checkout@v4
80-
- name: Install System Dependencies
81-
run: apt-get -qq update && apt-get -qq install -y make curl wget
82-
- name: Install JDK
83-
run: "bash -xc 'JDK_VENDOR=${{ matrix.jdk_vendor }} ./docker/install_jdk.sh'"
84-
- name: Install Untested Nightly Swift
85-
run: "bash -xc './docker/install_untested_nightly_swift.sh'"
86-
# setup caches
87-
- name: Cache local Gradle repository
88-
uses: actions/cache@v4
89-
continue-on-error: true
90-
with:
91-
path: |
92-
/root/.gradle/caches
93-
/root/.gradle/wrapper
94-
key: ${{ runner.os }}-gradle-${{ hashFiles('*/*.gradle*', 'settings.gradle') }}
95-
restore-keys: |
96-
${{ runner.os }}-gradle-
97-
- name: Cache local SwiftPM repository
98-
uses: actions/cache@v4
99-
continue-on-error: true
100-
with:
101-
path: /__w/swift-java/swift-java/.build/checkouts
102-
key: ${{ runner.os }}-swiftpm-cache-${{ hashFiles('Package.swift') }}
103-
restore-keys: |
104-
${{ runner.os }}-swiftpm-cache
105-
${{ runner.os }}-swiftpm-
106-
# run the actual build
107-
- name: Generate sources (make) (Temporary)
108-
# TODO: this should be triggered by the respective builds
109-
run: "make jextract-generate"
110-
- name: Test Swift
111-
run: "swift test"
112-
- name: Build (Swift) Sample Apps
113-
run: |
114-
find Samples/ -name Package.swift -maxdepth 2 -exec swift build --package-path $(dirname {}) \;;
65+
# test-swift:
66+
# name: Swift tests (swift:${{ matrix.swift_version }} jdk:${{matrix.jdk_vendor}} os:${{ matrix.os_version }})
67+
# runs-on: ubuntu-latest
68+
# strategy:
69+
# fail-fast: false
70+
# matrix:
71+
# swift_version: ['nightly-main']
72+
# os_version: ['jammy']
73+
# jdk_vendor: ['Corretto']
74+
# container:
75+
# image: ${{ (contains(matrix.swift_version, 'nightly') && 'swiftlang/swift') || 'swift' }}:${{ matrix.swift_version }}-${{ matrix.os_version }}
76+
# env:
77+
# JAVA_HOME: "/usr/lib/jvm/default-jdk"
78+
# steps:
79+
# - uses: actions/checkout@v4
80+
# - name: Install System Dependencies
81+
# run: apt-get -qq update && apt-get -qq install -y make curl wget
82+
# - name: Install JDK
83+
# run: "bash -xc 'JDK_VENDOR=${{ matrix.jdk_vendor }} ./docker/install_jdk.sh'"
84+
# - name: Install Untested Nightly Swift
85+
# run: "bash -xc './docker/install_untested_nightly_swift.sh'"
86+
# # setup caches
87+
# - name: Cache local Gradle repository
88+
# uses: actions/cache@v4
89+
# continue-on-error: true
90+
# with:
91+
# path: |
92+
# /root/.gradle/caches
93+
# /root/.gradle/wrapper
94+
# key: ${{ runner.os }}-gradle-${{ hashFiles('*/*.gradle*', 'settings.gradle') }}
95+
# restore-keys: |
96+
# ${{ runner.os }}-gradle-
97+
# - name: Cache local SwiftPM repository
98+
# uses: actions/cache@v4
99+
# continue-on-error: true
100+
# with:
101+
# path: /__w/swift-java/swift-java/.build/checkouts
102+
# key: ${{ runner.os }}-swiftpm-cache-${{ hashFiles('Package.swift') }}
103+
# restore-keys: |
104+
# ${{ runner.os }}-swiftpm-cache
105+
# ${{ runner.os }}-swiftpm-
106+
# # run the actual build
107+
# - name: Generate sources (make) (Temporary)
108+
# # TODO: this should be triggered by the respective builds
109+
# run: "make jextract-generate"
110+
# - name: Test Swift
111+
# run: "swift test"
112+
# - name: Build (Swift) Sample Apps
113+
# run: |
114+
# find Samples/ -name Package.swift -maxdepth 2 -exec swift build --package-path $(dirname {}) \;;

0 commit comments

Comments
 (0)