diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d167e3a..c0b4f98 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,22 +16,9 @@ jobs: name: ubuntu-meson path: | build/ - example/build/ build-ubuntu: - build-ubuntu-cmake: - runs-on: ubuntu-latest - steps: - - name: install ninja-build - run: sudo apt update -y && sudo apt install -y ninja-build - - uses: actions/checkout@v2 - - name: compile library - run: cmake -S . -B build && cmake --build build - - uses: actions/upload-artifact@v4 - with: - name: ubuntu-cmake - path: | - build/ + example/build/ collect-and-release: - needs: [build-ubuntu-meson, build-ubuntu-cmake] + needs: [build-ubuntu-meson] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -40,16 +27,11 @@ jobs: with: name: ubuntu-meson path: ./build-ubuntu-meson - - name: Download artifact ubuntu-cmake - uses: actions/download-artifact@v4 - with: - name: ubuntu-cmake - path: ./build-ubuntu-cmake - name: 'Compress files for the linux-x64 release artifact' shell: bash run: | - zip --junk-paths ./linux-x64.zip ./build-ubuntu-cmake/**/*.so ./build-ubuntu-cmake/**/*.so.* ./build-ubuntu-meson/build/adstool + zip --junk-paths ./linux-x64.zip ./build-ubuntu-meson/build/adstool - name: 'Obtain the current version number from the debian changelog. We need it to create the release.' shell: bash