Skip to content

Commit

Permalink
WIP: GitHub: drop broken cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
pbruenn committed Dec 13, 2024
1 parent b6c4f62 commit c3a43d8
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c3a43d8

Please sign in to comment.