Skip to content

Commit

Permalink
.github/workflows/build.yml: download upx 3.96-2 from ftp.debian.org
Browse files Browse the repository at this point in the history
Signed-off-by: Hao Lian <[email protected]>
  • Loading branch information
hlian authored and Xyene committed Jul 26, 2022
1 parent 4da617e commit ad91ae0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/.opam
key: ${{ matrix.os }}-opam-${{ matrix.ocaml-version }}-flambda-musl-v4
key: ${{ matrix.os }}-opam-${{ matrix.ocaml-version }}-flambda-musl-v5

- name: Install musl-compatible kernel headers
run: |
Expand All @@ -32,8 +32,9 @@ jobs:
- name: Install upx
run: |
# The version that comes with focal is broken for musl binaries, pulling 3.96 from hirsute.
wget http://azure.archive.ubuntu.com/ubuntu/pool/universe/u/upx-ucl/upx-ucl_3.96-2_amd64.deb
# The version that comes with focal is broken for musl binaries, so we have to download
# from another location.
wget http://ftp.debian.org/debian/pool/main/u/upx-ucl/upx-ucl_3.96-2_amd64.deb
sudo dpkg -i upx-ucl_3.96-2_amd64.deb
- name: Use OCaml ${{ matrix.ocaml-version }}
Expand Down

0 comments on commit ad91ae0

Please sign in to comment.