forked from ruslo/hunter
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
31 changed files
with
498 additions
and
33 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
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ jobs: | |
steps: | ||
|
||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4.1.1 | ||
|
||
- name: Manual dispatch, get project name from input | ||
if: github.event_name == 'workflow_dispatch' | ||
|
@@ -40,7 +40,7 @@ jobs: | |
- name: Get changed files and save them to ${HOME}/files.json | ||
if: github.event_name != 'workflow_dispatch' | ||
id: files | ||
uses: lots0logs/gh-action-get-changed-files@2.1.4 | ||
uses: lots0logs/gh-action-get-changed-files@2.2.2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
@@ -49,7 +49,7 @@ jobs: | |
run: | | ||
MATRIX=`python .github/workflows/set_matrix.py` | ||
if [ "${MATRIX}" ]; then | ||
echo "::set-output name=matrix::${MATRIX}" | ||
echo "matrix=${MATRIX}" >> $GITHUB_OUTPUT | ||
else | ||
exit 1 | ||
fi | ||
|
@@ -70,12 +70,12 @@ jobs: | |
steps: | ||
|
||
- name: Git checkout with submodules | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4.1.1 | ||
with: | ||
submodules: true | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v5.1.0 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
|
@@ -87,11 +87,6 @@ jobs: | |
if: runner.os == 'Windows' | ||
run: echo "HUNTER_PYTHON_LOCATION=$env:pythonLocation" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8 | ||
|
||
- name: Extract branch name | ||
shell: bash | ||
run: echo "##[set-output name=branch;]${GITHUB_REF#refs/heads/}" | ||
id: extract_branch | ||
|
||
- name: Build hunter_tests Unix | ||
if: runner.os != 'Windows' && matrix.toolchain == 'hunter_tests' | ||
env: | ||
|
@@ -102,14 +97,14 @@ jobs: | |
- name: Build on Unix | ||
if: runner.os != 'Windows' && matrix.toolchain != 'hunter_tests' | ||
env: | ||
BRANCH_NAME: ${{ steps.extract_branch.outputs.branch }} | ||
BRANCH_NAME: ${{ github.ref_name }} | ||
run: | | ||
bash ${{ matrix.script }} | ||
- name: Build on Windows | ||
if: runner.os == 'Windows' && matrix.toolchain != 'hunter_tests' | ||
env: | ||
BRANCH_NAME: ${{ steps.extract_branch.outputs.branch }} | ||
BRANCH_NAME: ${{ github.ref_name }} | ||
run: | | ||
${{ matrix.script }} | ||
|
@@ -121,7 +116,7 @@ jobs: | |
steps: | ||
|
||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4.1.1 | ||
|
||
- name: Get job status via GitHub API | ||
uses: octokit/[email protected] | ||
|
@@ -138,7 +133,7 @@ jobs: | |
python .github/workflows/set_status.py | ||
- name: Deploy job status to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3.7.0-8 | ||
uses: peaceiris/actions-gh-pages@v4.0.0 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: job_data | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
include(hunter_add_version) | ||
include(hunter_cacheable) | ||
include(hunter_cmake_args) | ||
include(hunter_download) | ||
include(hunter_pick_scheme) | ||
|
||
hunter_add_version( | ||
PACKAGE_NAME | ||
Alut | ||
VERSION | ||
1.1.0-469287b-p0 | ||
URL | ||
"https://github.com/cpp-pm/freealut/archive/1.1.0-469287b-p0.tar.gz" | ||
SHA1 | ||
c20f2c026bb48d9e6ade42051c998797b0b723b6 | ||
) | ||
|
||
hunter_cmake_args( | ||
Alut | ||
CMAKE_ARGS | ||
BUILD_EXAMPLES=OFF | ||
BUILD_TESTS=OFF | ||
) | ||
|
||
hunter_pick_scheme(DEFAULT url_sha1_cmake) | ||
hunter_cacheable(Alut) | ||
hunter_download(PACKAGE_NAME Alut) |
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
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
Oops, something went wrong.