Skip to content

Commit

Permalink
Update Github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
josephbirkner committed Sep 2, 2024
1 parent ee3e0ea commit 1878168
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: build-release

on:
push:
branches:
- 'feature/renderer-wasm-demo'
pull_request:
workflow_dispatch:

Expand Down Expand Up @@ -38,23 +36,3 @@ jobs:
name: erdblick
path: |
static/*
build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install build dependencies
run: sudo apt-get install ninja-build

- name: Compile
run: |
mkdir build && cd build
cmake -GNinja -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .
- name: Run Tests
run: |
cd build
ctest --verbose --no-tests=error
27 changes: 27 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: build-release

on:
push:
pull_request:
workflow_dispatch:

jobs:
build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install build dependencies
run: sudo apt-get install ninja-build

- name: Compile
run: |
mkdir build-test && cd build-test
cmake -GNinja -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .
- name: Run Tests
run: |
cd build-test
ctest --verbose --no-tests=error

0 comments on commit 1878168

Please sign in to comment.