main-build-ubuntu.yml (1208B)
1 name: Main Build (Ubuntu) 2 3 on: 4 push: 5 branches: [ "main" ] 6 7 # Permissions and environment values to be able to update the dependency graph with vcpkg information 8 # and to enable the writing/uploading of CodeQL scan results 9 permissions: 10 contents: write 11 security-events: write 12 13 env: 14 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 15 VCPKG_FEATURE_FLAGS: dependencygraph 16 17 jobs: 18 build-ubuntu: 19 runs-on: ubuntu-latest 20 21 steps: 22 - uses: actions/checkout@v4 23 24 - name: Initialize CodeQL 25 uses: ./.github/workflows/initialize-codeql 26 27 - name: Setup 28 run: source ./scripts/setup.sh 29 30 - name: Build and Test (no test overrides) 31 run: | 32 ./scripts/build.sh 33 ./scripts/test.sh --output-on-failure 34 35 - name: Build and Test (with test overrides) 36 run: | 37 ./scripts/build.sh --enable-test-overrides 38 ./scripts/test.sh --output-on-failure 39 40 - name: Build and Test (Release) 41 run: | 42 ./scripts/build.sh --build-type Release 43 ./scripts/test.sh --output-on-failure 44 45 - name: Perform CodeQL Analysis 46 uses: github/codeql-action/analyze@v3