Skip to content

Commit

Permalink
Fixed Gcc, Clang github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
WillisMedwell committed Jan 22, 2024
1 parent a032200 commit 05a756e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 29 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: medwellwillis/clang-gcc-cmake-vcpkg-git:0.2
image: musicscience37/clang-ci:latest

steps:
- uses: actions/checkout@v2

- name: Build With Clang
run: |
cmake --preset clang-ninja
cmake --build ./build/clang-ninja --config Release
cmake --build ./build/clang-ninja --config Release
- name: Run Tests
run: |
./build/clang-ninja/UtilyTest
./build/clang-ninja/UtilyBenchmark
2 changes: 1 addition & 1 deletion .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: medwellwillis/clang-gcc-cmake-vcpkg-git:0.2
image: musicscience37/gcc-ci:latest

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ if(BUILD_UTILY_BENCHMARKS)
FetchContent_MakeAvailable(benchmark)
endif()
add_executable(UtilyBenchmark ${UTILY_BENCHMARK_SOURCES})


file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/resources DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
if(DEFINED EMSCRIPTEN)
Expand Down
26 changes: 0 additions & 26 deletions Dockerfile

This file was deleted.

2 changes: 2 additions & 0 deletions build-all.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@REM This is for local building on windows. You will need emscripten SDK, cmake, and ninja.

@echo off
set VCPKG_PATH=C:/apps/vcpkg/vcpkg/

Expand Down

0 comments on commit 05a756e

Please sign in to comment.