88 strategy :
99 matrix :
1010 os :
11- # - runner: ubuntu-24.04
12- # type: linux
13- # platform: linux-amd64
14- # - runner: ubuntu-24.04-arm
15- # type: linux
16- # platform: linux-arm64
17- # - runner: macos-14
18- # type: macos
19- # platform: darwin-arm64
11+ - runner : ubuntu-24.04
12+ type : linux
13+ platform : linux-amd64
14+ - runner : ubuntu-24.04-arm
15+ type : linux
16+ platform : linux-arm64
17+ - runner : macos-14
18+ type : macos
19+ platform : darwin-arm64
2020 - runner : windows-2022
2121 type : windows
2222 platform : windows-amd64
5555 CFLAGS="-fPIC" ./configure --static
5656 make
5757 - name : java
58- continue-on-error : true
5958 working-directory : ./libxtracfg/java
6059 run : |
6160 ./gradlew nativeCompile -PLIB=true
7372 ./test.sh
7473 - name : c
7574 if : ${{ matrix.os.type == 'windows' }}
76- continue-on-error : true
7775 working-directory : ./libxtracfg/c
7876 run : |
7977 ./build.bat
@@ -82,14 +80,12 @@ jobs:
8280 run : |
8381 ls -l ./libxtracfg/c/build
8482 - name : js
85- continue-on-error : true
8683 working-directory : ./libxtracfg/js/xtracfg-native-binding
8784 run : |
8885 npm --loglevel verbose ci
8986 npm --loglevel verbose run prebuildify
9087 npm --loglevel verbose run test
9188 - name : log3
92- continue-on-error : true
9389 run : |
9490 ls -R ./libxtracfg/js/xtracfg-native-binding/prebuilds
9591 # TODO: run tests for java, c, go
@@ -117,30 +113,25 @@ jobs:
117113 name : libxtracfg-js-${{ matrix.os.platform }}
118114 path : ./libxtracfg/js/xtracfg-native-binding/prebuilds
119115 retention-days : 1
120- - uses : actions/upload-artifact@v4
121- with :
122- name : npm-logs
123- path : C:\\npm\\cache\\_logs
124- retention-days : 1
125116
126117 build_binaries :
127118 runs-on : ${{ matrix.os.runner }}
128119 needs : build_libraries
129120 strategy :
130121 matrix :
131122 os :
132- # - runner: ubuntu-24.04
133- # type: linux
134- # platform: linux-amd64
135- # - runner: ubuntu-24.04-arm
136- # type: linux
137- # platform: linux-arm64
138- # - runner: macos-14
139- # type: macos
140- # platform: darwin-arm64
141- - runner : windows-2022
142- type : windows
143- platform : windows-amd64
123+ - runner : ubuntu-24.04
124+ type : linux
125+ platform : linux-amd64
126+ - runner : ubuntu-24.04-arm
127+ type : linux
128+ platform : linux-arm64
129+ - runner : macos-14
130+ type : macos
131+ platform : darwin-arm64
132+ # - runner: windows-2022
133+ # type: windows
134+ # platform: windows-amd64
144135 defaults :
145136 run :
146137 working-directory : ./xtracfg
@@ -234,7 +225,6 @@ jobs:
234225 ls -lR ./**/build
235226
236227 publish_docker :
237- if : ${{ github.ref_type == 'linux' }}
238228 runs-on : ubuntu-latest
239229 needs : build_binaries
240230 steps :
0 commit comments