Skip to content

Commit

Permalink
add GHA job w/ manual docker
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver committed Oct 14, 2024
1 parent 0e93b70 commit bc61613
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,34 @@ jobs:
run: python cue.py -T 15M test
- name: Collect and show test results
run: python cue.py test-results

build-docker:
name: Docker
runs-on: ubuntu-latest
env:
CMP: gcc
BCFG: default
CI_CROSS_TARGETS: ${{ matrix.cross }}
TEST: ${{ matrix.test }}
APT: re2c

steps:
- uses: actions/checkout@v3

- name: Run...
run: |
cat <<EOF > runit.sh
set -e -x
python --version
python cue.py prepare
python cue.py build
python cue.py -T 15M test
python cue.py test-results
EOF
chmod +x runit.sh
docker run --rm --quiet \
--user `id -u`:`id -g` \
--pull=always \
-v `pwd`:/io \
centos:7 \
/io/runit.sh

0 comments on commit bc61613

Please sign in to comment.