Skip to content

Commit 1c567ea

Browse files
committed
ci: Switch to make test-bin-archive
Right now we only install a single binary, but in the future that will change (e.g. systemd units, config files). Signed-off-by: Colin Walters <[email protected]>
1 parent 90cf87d commit 1c567ea

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ jobs:
5252
with:
5353
key: "build"
5454
- name: Build
55-
run: cargo build --release --features internal-testing-api
55+
run: make test-bin-archive
5656
- name: Upload binary
5757
uses: actions/upload-artifact@v2
5858
with:
59-
name: bootc
60-
path: target/release/bootc
59+
name: bootc.tar.zst
60+
path: target/bootc.tar.zst
6161
build-minimum-toolchain:
6262
name: "Build using MSRV"
6363
runs-on: ubuntu-latest
@@ -122,9 +122,9 @@ jobs:
122122
- name: Download
123123
uses: actions/download-artifact@v2
124124
with:
125-
name: bootc
125+
name: bootc.tar.zst
126126
- name: Install
127-
run: sudo install bootc /usr/bin && rm -v bootc
127+
run: sudo tar -C / -xvf bootc.tar.zst
128128
- name: Integration tests
129129
run: sudo podman run --rm -ti --privileged -v /run/systemd:/run/systemd -v /:/run/host -v /usr/bin/bootc:/usr/bin/bootc --pid=host quay.io/fedora/fedora-coreos:testing-devel bootc internal-tests run-privileged-integration
130130
container-tests:
@@ -136,8 +136,8 @@ jobs:
136136
- name: Download
137137
uses: actions/download-artifact@v2
138138
with:
139-
name: bootc
139+
name: bootc.tar.zst
140140
- name: Install
141-
run: install bootc /usr/bin && rm -v bootc
141+
run: sudo tar -C / -xvf bootc.tar.zst
142142
- name: Integration tests
143143
run: bootc internal-tests run-container-integration

0 commit comments

Comments
 (0)