👷 Updated GitHub actions
This commit is contained in:
parent
d9e42eafd0
commit
5b493894d7
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
@ -10,7 +10,11 @@ jobs:
|
||||
CONAN_USER_HOME_SHORT: None
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- run: echo $env:BUILD_TOOLS_PATH | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||
- name: Configure sccache
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
core.addPath(process.env.BUILD_TOOLS_PATH);
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@ -24,7 +28,7 @@ jobs:
|
||||
run: choco install conan ninja -y
|
||||
|
||||
- name: Enable Developer Command Prompt
|
||||
uses: ilammy/msvc-dev-cmd@v1.13.0
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
@ -47,7 +51,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Cache conan
|
||||
uses: actions/cache@v4.0.0
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
key: conan-linux-${{ hashFiles('conanfile.txt') }}
|
||||
path: ~/.conan2/
|
||||
@ -56,7 +60,7 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get update
|
||||
curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-cmake.sh" | sudo bash
|
||||
curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-conan2.0.sh" | sudo bash
|
||||
curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-conan.sh" | sudo bash
|
||||
sudo apt-get -y install ninja-build
|
||||
|
||||
- name: Configure
|
||||
@ -82,7 +86,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Cache conan
|
||||
uses: actions/cache@v4.0.0
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
key: conan-mac-${{ hashFiles('conanfile.txt') }}
|
||||
path: ~/.conan2/
|
||||
|
6
.github/workflows/sonarcloud.yml
vendored
6
.github/workflows/sonarcloud.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
message("::set-output name=timestamp::${current_date}")
|
||||
|
||||
- name: cfamily cache files
|
||||
uses: actions/cache@v4.0.0
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: cfamily-cache
|
||||
key: cfamily-cache-${{ steps.cfamily_cache_timestamp.outputs.timestamp }}
|
||||
@ -42,7 +42,7 @@ jobs:
|
||||
cfamily-cache-
|
||||
|
||||
- name: Cache conan
|
||||
uses: actions/cache@v4.0.0
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
key: conan-linux-${{ hashFiles('conanfile.txt') }}
|
||||
path: ~/.conan2/
|
||||
@ -50,7 +50,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-cmake.sh" | sudo bash
|
||||
curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-conan2.0.sh" | sudo bash
|
||||
curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-conan.sh" | sudo bash
|
||||
|
||||
- name: Configure
|
||||
run: |
|
||||
|
@ -1,7 +1,7 @@
|
||||
#-------------------------------------------------------
|
||||
# moFileReader Main Build Script
|
||||
#-------------------------------------------------------
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_BINARY_DIR}" "${CMAKE_SOURCE_DIR}/cmake")
|
||||
include(CMakeCM)
|
||||
|
Loading…
x
Reference in New Issue
Block a user