2020 - uses : Swatinem/rust-cache@v2
2121 with :
2222 cache-on-failure : true
23- - name : Install dependencies
24- run : pip install PyOxidizer
2523 - name : cargo check
2624 run : cargo check
2725 - name : cargo clippy
5351
5452 - name : Install dependencies
5553 run : |
56- # Stick to the 0.23.0 due to issue with static linking on 0.24.0 [1].
57- # [1]: https://github.com/indygreg/PyOxidizer/issues/673
58- pip install PyOxidizer==0.23.0
5954 # nfpm
6055 curl -sS -Lo /tmp/nfpm.deb "https://github.com/goreleaser/nfpm/releases/download/v2.25.0/nfpm_amd64.deb"
6156 sudo dpkg -i /tmp/nfpm.deb
8681 chdig --help
8782
8883 - name : Archive Linux packages
89- uses : actions/upload-artifact@v3
84+ uses : actions/upload-artifact@v4
9085 with :
9186 name : linux-packages
9287 path : |
@@ -115,7 +110,7 @@ jobs:
115110
116111 build-macos-x86_64 :
117112 name : Build MacOS (x86_64)
118- runs-on : macos-12
113+ runs-on : macos-13
119114
120115 steps :
121116 - uses : actions/checkout@v3
@@ -142,10 +137,6 @@ jobs:
142137 # SDKs versions
143138 ls -al /Library/Developer/CommandLineTools/SDKs/
144139
145- - name : Install dependencies
146- run : |
147- pip3 install PyOxidizer
148-
149140 - name : Build
150141 run : |
151142 set -x
@@ -159,7 +150,7 @@ jobs:
159150 ./chdig-macos-x86_64 --help
160151
161152 - name : Archive MacOS x86_64 packages
162- uses : actions/upload-artifact@v3
153+ uses : actions/upload-artifact@v4
163154 with :
164155 name : macos-packages-x86_64
165156 path : |
@@ -194,10 +185,6 @@ jobs:
194185 # SDKs versions
195186 ls -al /Library/Developer/CommandLineTools/SDKs/
196187
197- - name : Install dependencies
198- run : |
199- pip3 install PyOxidizer --break-system-packages
200-
201188 - name : Build
202189 run : |
203190 set -x
@@ -211,7 +198,7 @@ jobs:
211198 ./chdig-macos-arm64 --help
212199
213200 - name : Archive MacOS Arm64 packages
214- uses : actions/upload-artifact@v3
201+ uses : actions/upload-artifact@v4
215202 with :
216203 name : macos-packages-arm64
217204 path : |
@@ -241,18 +228,14 @@ jobs:
241228 with :
242229 cache-on-failure : true
243230
244- - name : Install dependencies
245- run : |
246- pip3 install PyOxidizer
247-
248231 - name : Build
249232 run : |
250233 make deploy-binary
251234 cp target/chdig.exe chdig-windows.exe
252235 Compress-Archive -Path chdig-windows.exe -DestinationPath chdig-windows.exe.zip
253236
254237 - name : Archive Windows packages
255- uses : actions/upload-artifact@v3
238+ uses : actions/upload-artifact@v4
256239 with :
257240 name : windows-packages
258241 path : |
0 commit comments