Skip to content

Commit

Permalink
.github/workflows: add some lightweight checks
Browse files Browse the repository at this point in the history
Rebuild-required: false
  • Loading branch information
t184256 committed Oct 2, 2023
1 parent f132887 commit 1d13701
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/stage1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,17 @@ jobs:
- uses: jirutka/setup-alpine@v1
with:
branch: edge
packages: tar make wget zstd bash coreutils gcc build-base file
packages: tar make wget zstd bash coreutils gcc build-base
- run: git clone https://repo.or.cz/tinycc.git tinycc
- run: cd tinycc && git checkout af1abf1f45d45b34f0b02437f559f4dfdba7d23c
- run: cd tinycc && ./configure --config-musl --enable-static --extra-ldflags=-static && make
- run: cd tinycc && ./configure --config-musl --enable-static --extra-ldflags=-static && make -j $(nproc)
shell: alpine.sh --root {0}
- run: cp tinycc/tcc tcc-seed
shell: alpine.sh --root {0}
- run: file tcc-seed || true
shell: alpine.sh --root {0}
- run: file tcc-seed || true
- run: |
sed -i 's|unshare -nr||' Makefile
sed -i 's|unshare -nrm|unshare -rm|' helpers/chroot
shell: alpine.sh --root {0}
- run: make pkgs/1-stage1.pkg || true
shell: alpine.sh --root {0}
- run: find tmp/build
- run: make pkgs/1-stage1.pkg
shell: alpine.sh --root {0}
- name: trim verification list
Expand All @@ -71,5 +65,5 @@ jobs:
grep 0-tcc-seed verify.pkgs.sha256
grep 1-stage1 verify.pkgs.sha256
shell: alpine.sh --root {0}
- run: make verify-pkgs-checksums
- run: make verify-pkgs-checksums # warning: CUSTOM tcc is expected
shell: alpine.sh --root {0}

0 comments on commit 1d13701

Please sign in to comment.