Skip to content

Commit

Permalink
Update cmake-single-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
patrikohlsson authored Oct 25, 2024
1 parent db9a079 commit e2dcb9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
BUILD_TYPE: Release

jobs:
build:
ubuntu-build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
Expand All @@ -23,10 +23,9 @@ jobs:
- uses: actions/checkout@v4

- name: Configure CMake
working-directory: ${{github.workspace}}/native
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build
run: cmake -S ${{github.workspace}}/native -B ${{github.workspace}}/build

- name: Build
# Build your program with the given configuration
Expand Down

0 comments on commit e2dcb9c

Please sign in to comment.