@@ -14,59 +14,51 @@ jobs:
1414 steps :
1515 - name : Checkout Code
1616 uses : actions/checkout@v3
17-
1817 - name : Create the distribution tarball
1918 run : |
2019 make dist
2120 cd ..
2221 mv domjudge release
2322 tar -cf release.tar release
2423 gzip -i release.tar
25-
2624 - name : Upload Artifact
2725 uses : actions/upload-artifact@v4
2826 with :
2927 name : test-tarball
3028 path : release.tar.gz
3129
32- # deploy:
33- # needs: build
34- # runs-on: ubuntu-latest
35- # steps:
36- #
37- # - name: Display File Content
38- # run: cat hello.txt
39- #
40- # debian-family:
41- # needs: build
42- # strategy:
43- # matrix:
44- # version: [jammy, focal, rolling]
45- # os: [ubuntu]
46- # releaseBranch:
47- # - ${{ contains(github.ref, 'gh-readonly-queue') }}
48- # exclude:
49- # - releaseBranch: false
50- # include:
51- # - os: debian
52- # version: stable
53- # - os: debian
54- # version: testing
55- # runs-on: ubuntu-latest
56- # env:
57- # DEBIAN_FRONTEND: noninteractive
58- # TZ: Etc/UTC
59- # container:
60- # image: ${{ matrix.os }}:${{ matrix.version }}
61- # steps:
62- # - name: Download Artifact
63- # uses: actions/download-artifact@v3
64- # with:
65- # name: release.tar.gz
66- # - name: Install git so we get the .github directory
67- # run: |
68- # apt-get update
69- # apt-get install -y git
70- #
71- # - name: Setup image and run bats tests
72- # run: .github/jobs/configure-checks/setup_configure_image.sh
30+ debian-family :
31+ needs : build
32+ strategy :
33+ matrix :
34+ version : [jammy, focal, rolling]
35+ os : [ubuntu]
36+ releaseBranch :
37+ - ${{ contains(github.ref, 'gh-readonly-queue') }}
38+ exclude :
39+ - releaseBranch : false
40+ include :
41+ - os : debian
42+ version : stable
43+ - os : debian
44+ version : testing
45+ runs-on : ubuntu-latest
46+ env :
47+ DEBIAN_FRONTEND : noninteractive
48+ TZ : Etc/UTC
49+ container :
50+ image : ${{ matrix.os }}:${{ matrix.version }}
51+ steps :
52+ - name : Download Artifact
53+ uses : actions/download-artifact@v3
54+ with :
55+ name : release.tar.gz
56+ - name : Install git so we get the .github directory
57+ run : |
58+ apt-get update
59+ apt-get install -y git
60+ - name : Unpack the "Release" tarball
61+ run : tar xvf release.tar.gz
62+ - name : Setup image and run bats tests
63+ workdir : domjudge
64+ run : .github/jobs/configure-checks/setup_configure_image.sh
0 commit comments