Skip to content

Commit 1d784e1

Browse files
committed
ci: simplify
1 parent 56f4d7d commit 1d784e1

2 files changed

Lines changed: 6 additions & 21 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -80,21 +80,11 @@ jobs:
8080
if: contains(matrix.build, 'linux')
8181
run: sudo apt update && sudo apt install -y libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev
8282

83-
- name: Run tests (arm64)
84-
if: matrix.build == 'aarch64-linux'
85-
run: cargo test --locked --target ${{ matrix.target }}
83+
- name: Run tests
84+
run: cargo test --locked --frozen
8685

87-
- name: Build debug binary (arm64)
88-
if: matrix.build == 'aarch64-linux'
89-
run: cargo build --locked --target ${{ matrix.target }}
90-
91-
- name: Run tests (x86_64)
92-
if: matrix.build != 'aarch64-linux'
93-
run: cargo test
94-
95-
- name: Build debug binary (x86_64)
96-
if: matrix.build != 'aarch64-linux'
97-
run: cargo build
86+
- name: Build debug binary
87+
run: cargo build --locked --frozen
9888

9989
- uses: actions/upload-artifact@v5.0.0
10090
with:

.github/workflows/deploy.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,8 @@ jobs:
6464
if: contains(matrix.build, 'linux')
6565
run: sudo apt update && sudo apt install -y libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev
6666

67-
- name: Build release binary (arm64)
68-
if: matrix.build == 'aarch64-linux'
69-
run: cargo build --release --locked --target ${{ matrix.target }}
70-
71-
- name: Build release binary (x86_64)
72-
if: matrix.build != 'aarch64-linux'
73-
run: cargo build --release --locked --target ${{ matrix.target }}
67+
- name: Build release binary
68+
run: cargo build --release --locked --frozen --target ${{ matrix.target }}
7469

7570
- name: Build archive
7671
shell: bash

0 commit comments

Comments
 (0)