diff --git a/.github/workflows/build-ubuntu.yml b/.github/workflows/build-ubuntu.yml deleted file mode 100644 index 83b4155deb..0000000000 --- a/.github/workflows/build-ubuntu.yml +++ /dev/null @@ -1,79 +0,0 @@ -name: Build on Ubuntu - -on: - push: - branches: - - master - - v* - - paths: - - .github/workflows/build-ubuntu.yml - - cmake/** - - src/** - - CMakeLists.txt - - CMakePresets.json - - pull_request: - paths: - - .github/workflows/build-ubuntu.yml - - cmake/** - - src/** - - CMakeLists.txt - - CMakePresets.json - - workflow_dispatch: - -jobs: - build-ubuntu: - name: ubuntu-${{ matrix.buildtype }}-luajit=${{ matrix.luajit }} - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - matrix: - buildtype: [Debug, Release] - luajit: [on, off] - - steps: - - uses: actions/checkout@v4 - - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: cpp - # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - queries: +security-extended,security-and-quality - if: ${{ matrix.buildtype }} == "Debug" - - - name: Get latest CMake - # Using 'latest' branch, the latest CMake is installed. - uses: lukka/get-cmake@latest - - - name: Install dependencies - run: > - sudo apt update -q && - sudo apt install -yq build-essential libluajit-5.1-dev liblua5.4-dev libmysqlclient-dev - libboost-system-dev libboost-iostreams-dev libboost-locale-dev - libpugixml-dev libfmt-dev - - - name: Build with cmake - uses: lukka/run-cmake@v10 - with: - buildPreset: default - buildPresetAdditionalArgs: "['--config', '${{ matrix.buildtype }}', '-DUSE_LUAJIT=${{ matrix.luajit }}']" - configurePreset: default - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 - with: - category: "/language:cpp" - if: ${{ matrix.buildtype }} == "Debug" - - - name: Upload artifact binary - uses: actions/upload-artifact@v4 - with: - name: tfs-ubuntu-${{ matrix.buildtype }}-luajit=${{ matrix.luajit }}-${{ github.sha }} - path: ${{ runner.workspace }}/build/${{ matrix.buildtype }}/tfs