Skip to content

Commit

Permalink
Perform configure on CI linux builds
Browse files Browse the repository at this point in the history
  • Loading branch information
LegalizeAdulthood committed Feb 19, 2024
1 parent 01c387f commit dec1c8d
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,27 @@ on:
branches: [ "master" ]

jobs:
# linux-build:
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/[email protected]
# with:
# submodules: true
#
# - name: CMake workflow
# run: cmake --workflow --preset default
linux-build:
runs-on: ubuntu-latest

env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"

steps:
- name: Checkout
uses: actions/[email protected]
with:
submodules: true

- name: Set Environment Variables
uses: actions/github-script@v6
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
- name: Configure
run: cmake --preset default

windows-build:
runs-on: windows-latest
Expand All @@ -25,16 +36,19 @@ jobs:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"

steps:
- uses: actions/[email protected]
- name: Checkout
uses: actions/[email protected]
with:
submodules: true
- uses: actions/github-script@v6

- name: Set Environment Variables
uses: actions/github-script@v6
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
- name: CMake workflow
- name: CMake Workflow
run: cmake --workflow --preset default

cppcheck:
Expand Down

0 comments on commit dec1c8d

Please sign in to comment.