@@ -5,7 +5,7 @@ concurrency:
5
5
on :
6
6
push :
7
7
branches :
8
- - main
8
+ - main
9
9
pull_request :
10
10
workflow_dispatch :
11
11
jobs :
@@ -14,80 +14,73 @@ jobs:
14
14
strategy :
15
15
matrix :
16
16
rust_version :
17
- - stable
18
- - beta
17
+ - stable
18
+ - beta
19
19
node_version :
20
- - 20
21
- - 22
22
- - 24
20
+ - 20
21
+ - 22
22
+ - 24
23
23
system :
24
- - os : macos-13
25
- target : x86_64-apple-darwin
26
- arch : x64
27
- - os : buildjet-2vcpu- ubuntu-2204
28
- target : x86_64-unknown-linux-gnu
29
- arch : x64
30
- - os : buildjet-4vcpu- ubuntu-2204 -arm
31
- target : arm64-unknown-linux-gnu
32
- arch : arm64
33
- - os : windows-2025
34
- target : x86_64-pc-windows-msvc
35
- arch : x64
36
- - os : macos-14
37
- target : aarch64-apple-darwin
38
- arch : arm64
24
+ - os : macos-13
25
+ target : x86_64-apple-darwin
26
+ arch : x64
27
+ - os : ubuntu-24.04
28
+ target : x86_64-unknown-linux-gnu
29
+ arch : x64
30
+ - os : ubuntu-24.04 -arm
31
+ target : arm64-unknown-linux-gnu
32
+ arch : arm64
33
+ - os : windows-2025
34
+ target : x86_64-pc-windows-msvc
35
+ arch : x64
36
+ - os : macos-14
37
+ target : aarch64-apple-darwin
38
+ arch : arm64
39
39
fail-fast : false
40
40
steps :
41
- - uses : actions/checkout@v4
42
- - uses : actions/setup-node@v4
43
- with :
44
- node-version : ${{ matrix.node_version }}
45
- cache : yarn
46
- architecture : ${{ matrix.system.arch }}
47
- - uses : IronCoreLabs/rust-toolchain@v1
48
- with :
49
- toolchain : ${{ matrix.rust_version }}
50
- - name : Install modules
51
- run : yarn install --ignore-scripts
52
- - name : Compile
53
- run : yarn run compile
54
- - name : Run tests
55
- run : yarn run test
41
+ - uses : actions/checkout@v5
42
+ - uses : actions/setup-node@v4
43
+ with :
44
+ node-version : ${{ matrix.node_version }}
45
+ cache : yarn
46
+ architecture : ${{ matrix.system.arch }}
47
+ - uses : IronCoreLabs/rust-toolchain@v1
48
+ with :
49
+ toolchain : ${{ matrix.rust_version }}
50
+ - name : Install modules
51
+ run : yarn install --ignore-scripts
52
+ - name : Compile
53
+ run : yarn run compile
54
+ - name : Run tests
55
+ run : yarn run test
56
56
57
- # broken now that node20 is forced even for checkout@v3, which doesn't work using the # WORKAROUND below any more.
58
- # test-docker:
59
- # runs-on: ${{ matrix.os }}
60
- # container:
61
- # image: node:${{ matrix.node_version }}-alpine
62
- # strategy:
63
- # matrix:
64
- # rust_version:
65
- # - stable
66
- # - beta
67
- # node_version:
68
- # - 16
69
- # - 18
70
- # - 20
71
- # - 21
72
- # os:
73
- # - buildjet-2vcpu-ubuntu-2204
74
- # - buildjet-4vcpu-ubuntu-2204-arm
75
- # fail-fast: false
76
- # steps:
77
- # - run: apk add build-base git python3 wget
78
- # # WORKAROUND
79
- # # https://github.com/actions/runner/issues/801#issuecomment-1374967227
80
- # - run: |
81
- # apk add gcompat
82
- # sed -i "s:ID=alpine:ID=NotpineForGHA:" /etc/os-release
83
- # - run: echo RUSTFLAGS="-C target-feature=-crt-static" >> "${GITHUB_ENV}"
84
- # - uses: actions/checkout@v4
85
- # - uses: IronCoreLabs/rust-toolchain@v1
86
- # with:
87
- # toolchain: ${{ matrix.rust_version }}
88
- # - name: Install modules
89
- # run: yarn install --ignore-scripts
90
- # - name: Compile
91
- # run: yarn run compile
92
- # - name: Run tests
93
- # run: yarn run test
57
+ test-docker :
58
+ runs-on : ${{ matrix.os }}
59
+ container :
60
+ image : node:${{ matrix.node_version }}-alpine
61
+ strategy :
62
+ matrix :
63
+ rust_version :
64
+ - stable
65
+ - beta
66
+ node_version :
67
+ - 20
68
+ - 22
69
+ - 24
70
+ os :
71
+ - ubuntu-24.04
72
+ - ubuntu-24.04-arm
73
+ fail-fast : false
74
+ steps :
75
+ - run : apk add build-base git python3 wget
76
+ - run : echo RUSTFLAGS="-C target-feature=-crt-static" >> "${GITHUB_ENV}"
77
+ - uses : actions/checkout@v5
78
+ - uses : IronCoreLabs/rust-toolchain@v1
79
+ with :
80
+ toolchain : ${{ matrix.rust_version }}
81
+ - name : Install modules
82
+ run : yarn install --ignore-scripts
83
+ - name : Compile
84
+ run : yarn run compile
85
+ - name : Run tests
86
+ run : yarn run test
0 commit comments