diff options
| author | Syndamia <kamen@syndamia.com> | 2024-08-13 14:27:49 +0300 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2024-08-13 14:28:07 +0300 |
| commit | 7e26ccf5311d3c68a13b693c5e2b05c61e31f398 (patch) | |
| tree | 6ae3f238a44f43295eb72232502d764610715893 /.github/workflows/ci.yml | |
| parent | d9f35a55008a2c4b2a52a09178efdc95bc11a8b2 (diff) | |
| download | pico-web-7e26ccf5311d3c68a13b693c5e2b05c61e31f398.tar pico-web-7e26ccf5311d3c68a13b693c5e2b05c61e31f398.tar.gz pico-web-7e26ccf5311d3c68a13b693c5e2b05c61e31f398.zip | |
feat!: Major workflow rename, reorder, restructure and README updates
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..0765ada --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,62 @@ +name: Build, test, security +on: + push: + branches-ignore: + - main +jobs: + Clone-repo: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - uses: actions/upload-artifact@v3 + with: + name: source-code + path: . + + SAST-Unit-tests: + runs-on: ubuntu-latest + needs: Clone-repo + steps: + - uses: actions/download-artifact@v3 + with: + name: source-code + path: . + - run: make tests + + SAST-clang: + runs-on: ubuntu-latest + needs: Clone-repo + steps: + - uses: actions/download-artifact@v3 + with: + name: source-code + path: . + - run: make static-analysis + + SAST-flawfinder: + runs-on: ubuntu-latest + needs: Clone-repo + steps: + - uses: actions/download-artifact@v3 + with: + name: source-code + path: . + - run: sudo apt-get install -y flawfinder + - run: make security-analysis + + Build: + runs-on: ubuntu-latest + needs: [ SAST-Unit-tests, SAST-clang, SAST-flawfinder ] + steps: + - uses: actions/download-artifact@v3 + with: + name: source-code + path: . + - name: Build server and browser + run: make dev + - uses: actions/upload-artifact@v3 + with: + name: dev-build-files + path: ./build |
