-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #805 from openziti/dep-updates
update [email protected]
- Loading branch information
Showing
5 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,21 +22,27 @@ runs: | |
steps: | ||
- name: macOS tools | ||
if: runner.os == 'macOS' | ||
shell: bash | ||
run: brew install autoconf autoconf-archive automake pkg-config | ||
uses: gerlero/brew-install@v1 | ||
with: | ||
packages: autoconf autoconf-archive automake pkg-config libtool | ||
|
||
- name: windows tools | ||
if: runner.os == 'Windows' | ||
shell: bash | ||
run: choco install pkgconfiglite | ||
|
||
- name: simple build | ||
run: echo "target = ${{ inputs.target }}" | ||
- name: setup build | ||
shell: bash | ||
run: | | ||
CI_CACHE="${GITHUB_WORKSPACE}/.ci.cache" | ||
VCPKG_BINARY_SOURCES="clear;files,${GITHUB_WORKSPACE}/.ci.cache,readwrite" | ||
mkdir -p ${CI_CACHE} | ||
echo "CI_CACHE=${CI_CACHE}" >> $GITHUB_ENV | ||
echo "VCPKG_BINARY_SOURCES=${VCPKG_BINARY_SOURCES}" >> $GITHUB_ENV | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22.x' | ||
go-version: '1.23.x' | ||
cache-dependency-path: "**/*.sum" | ||
|
||
- uses: lukka/[email protected] | ||
|
@@ -45,8 +51,8 @@ runs: | |
|
||
- uses: actions/cache@v4 | ||
with: | ||
key: deps-${{ inputs.target }}-${{ hashFiles('./vcpkg.json') }} | ||
path: './vcpkg/packages' | ||
key: vbc-${{ inputs.target }}-${{ hashFiles('./vcpkg.json') }} | ||
path: ${{ env.CI_CACHE }} | ||
|
||
- uses: lukka/run-cmake@v10 | ||
name: Configure CMake | ||
|
@@ -55,7 +61,9 @@ runs: | |
configurePresetAdditionalArgs: "[ `-B`, `./build` ]" | ||
|
||
- name: build CMake | ||
run: cmake --build ./build --config ${{ inputs.config }} | ||
run: | | ||
cmake --build ./build --config ${{ inputs.config }} | ||
ls -lR ${CI_CACHE} | ||
shell: bash | ||
|
||
- name: bundle artifacts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,6 @@ Testing/ | |
#additional stuff for localtesting | ||
local.cmake | ||
/CMakeUserPresets.json | ||
|
||
## CI dirs | ||
.ci.cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters