@@ -14,59 +14,51 @@ jobs:
14
14
steps :
15
15
- name : Checkout Code
16
16
uses : actions/checkout@v3
17
-
18
17
- name : Create the distribution tarball
19
18
run : |
20
19
make dist
21
20
cd ..
22
21
mv domjudge release
23
22
tar -cf release.tar release
24
23
gzip -i release.tar
25
-
26
24
- name : Upload Artifact
27
25
uses : actions/upload-artifact@v4
28
26
with :
29
27
name : test-tarball
30
28
path : release.tar.gz
31
29
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