diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-08-14 19:42:33 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-08-22 04:52:55 -0300 |
commit | 82d28795a78fd0786fb833ebf7d3b4fe9c86d390 (patch) | |
tree | 5ab9fb6d41b30aca4d27edc2f9159c843023d1c0 /.github/workflows/build.yml | |
parent | ci: remove "CI" from workflow names (diff) | |
download | firejail-82d28795a78fd0786fb833ebf7d3b4fe9c86d390.tar.gz firejail-82d28795a78fd0786fb833ebf7d3b4fe9c86d390.tar.zst firejail-82d28795a78fd0786fb833ebf7d3b4fe9c86d390.zip |
ci: split build and test into separate workflows
Testing takes significantly longer than building, so this makes the
default build check faster.
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c898c34f5..1c5fb5f6d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -49,27 +49,18 @@ permissions: # added using https://github.com/step-security/secure-workflows | |||
49 | contents: read | 49 | contents: read |
50 | 50 | ||
51 | jobs: | 51 | jobs: |
52 | build_and_test: | 52 | build: |
53 | runs-on: ubuntu-22.04 | 53 | runs-on: ubuntu-22.04 |
54 | env: | ||
55 | SHELL: /bin/bash | ||
56 | steps: | 54 | steps: |
57 | - name: Harden Runner | 55 | - name: Harden Runner |
58 | uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 | 56 | uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 |
59 | with: | 57 | with: |
60 | egress-policy: block | 58 | egress-policy: block |
61 | allowed-endpoints: > | 59 | allowed-endpoints: > |
62 | 1.1.1.1:1025 | ||
63 | azure.archive.ubuntu.com:80 | 60 | azure.archive.ubuntu.com:80 |
64 | debian.org:80 | ||
65 | dns.quad9.net:53 | ||
66 | github.com:443 | 61 | github.com:443 |
67 | packages.microsoft.com:443 | 62 | packages.microsoft.com:443 |
68 | ppa.launchpadcontent.net:443 | 63 | ppa.launchpadcontent.net:443 |
69 | whois.pir.org:43 | ||
70 | www.debian.org:443 | ||
71 | www.debian.org:80 | ||
72 | yahoo.com:1025 | ||
73 | - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | 64 | - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 |
74 | - name: update package information | 65 | - name: update package information |
75 | run: sudo apt-get update -qy | 66 | run: sudo apt-get update -qy |
@@ -91,19 +82,3 @@ jobs: | |||
91 | run: sudo make install | 82 | run: sudo make install |
92 | - name: print firejail version | 83 | - name: print firejail version |
93 | run: command -V firejail && firejail --version | 84 | run: command -V firejail && firejail --version |
94 | - run: make lab-setup | ||
95 | - run: make test-seccomp-extra | ||
96 | - run: make test-firecfg | ||
97 | - run: make test-capabilities | ||
98 | - run: make test-apparmor | ||
99 | - run: make test-appimage | ||
100 | - run: make test-chroot | ||
101 | - run: make test-sysutils | ||
102 | - run: make test-private-etc | ||
103 | - run: make test-profiles | ||
104 | - run: make test-fcopy | ||
105 | - run: make test-fnetfilter | ||
106 | - run: make test-fs | ||
107 | - run: make test-utils | ||
108 | - run: make test-environment | ||
109 | - run: make test-network | ||