Skip to content

Commit 96b802a

Browse files
committed
Workflow
1 parent dca7c27 commit 96b802a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
image: ubuntu-24.04-arm
5454
- target: arm-unknown-linux-gnueabihf
5555
image: ubuntu-24.04-arm
56-
test: false
56+
skip_test: true
5757
setup: >
5858
sudo dpkg --add-architecture armhf &&
5959
sudo apt update &&
@@ -76,7 +76,7 @@ jobs:
7676
run: rustup target add ${{ matrix.target }}
7777

7878
- name: Test (debug)
79-
if: matrix.test == null || matrix.test == true
79+
if: matrix.skip_test
8080
run: cargo test --target ${{ matrix.target }} --workspace --exclude portablemc-py -- --include-ignored
8181

8282
- name: Build (release)
@@ -90,21 +90,21 @@ jobs:
9090
run: >
9191
mkdir ~/portablemc &&
9292
cp -r ./portablemc-ffi/include/ ~/portablemc/ &&
93-
cp ./target/${{ matrix.target }}/portablemc ./target/${{ matrix.target }}/libportablemc.{a,so} ~/portablemc/
93+
cp ./target/${{ matrix.target }}/release/portablemc ./target/${{ matrix.target }}/release/libportablemc.{a,so} ~/portablemc/
9494
9595
- name: Collect artifacts (apple)
9696
if: contains(matrix.target, 'apple')
9797
run: >
9898
mkdir ~/portablemc &&
9999
cp -r ./portablemc-ffi/include/ ~/portablemc/ &&
100-
cp ./target/${{ matrix.target }}/portablemc ./target/${{ matrix.target }}/libportablemc.{a,dylib} ~/portablemc/
100+
cp ./target/${{ matrix.target }}/release/portablemc ./target/${{ matrix.target }}/release/libportablemc.{a,dylib} ~/portablemc/
101101
102102
- name: Collect artifacts (windows)
103103
if: contains(matrix.target, 'windows')
104104
run: >
105105
(mkdir ~/portablemc) -and
106106
(cp ./portablemc-ffi/include/ ~/portablemc/) -and
107-
("exe","lib","dll" | % { cp "./target/${{ matrix.target }}/portablemc.$_" ~/portablemc/ })
107+
("exe","lib","dll" | % { cp "./target/release/${{ matrix.target }}/portablemc.$_" ~/portablemc/ })
108108
109109
- name: Upload artifacts
110110
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)