diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b5f63c8..fa44687c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,78 +35,6 @@ jobs: - [API](https://loot-api.readthedocs.io/en/latest/api/changelog.html) - [Metadata Syntax](https://loot-api.readthedocs.io/en/latest/metadata/changelog.html) - - linux: - runs-on: ubuntu-24.04 - needs: create_release - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Cache cargo - uses: actions/cache@v4 - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - - name: Download Boost - id: get-boost - run: | - BOOST_BASENAME=boost_${BOOST_VERSION//./_} - wget https://archives.boost.io/release/${BOOST_VERSION}/source/${BOOST_BASENAME}.tar.gz - tar -xf ${BOOST_BASENAME}.tar.gz - - echo "root=${BOOST_BASENAME}" >> $GITHUB_OUTPUT - - - name: Install APT package dependencies - run: | - sudo apt-get update - sudo apt-get install -y --no-upgrade \ - cbindgen \ - doxygen \ - language-pack-el \ - language-pack-tr \ - libtbb-dev \ - libicu-dev - - - name: Run CMake - run: | - mkdir build - cd build - cmake .. -DBOOST_ROOT="${{ steps.get-boost.outputs.root }}" -DCPACK_PACKAGE_VERSION="${{ needs.create_release.outputs.git_tag }}" - make all - - - name: Run tests - run: | - cd build - ./libloot_internals_tests - ./libloot_tests - - - uses: actions/setup-python@v5 - with: - python-version: '3.10' - - - name: Install packages for building docs - shell: bash - run: | - pip3 install --user -r docs/requirements.txt - echo "$HOME/.local/bin" >> $GITHUB_PATH - - - name: Build docs - run: sphinx-build -b html docs build/docs/html - - - name: Build archive - run: | - cd build - cpack - windows: runs-on: windows-2019 needs: create_release