forked from compiler-research/cppyy-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Update ci to remove warnings (compiler-research#101)
Showing
1 changed file
with
9 additions
and
73 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 |
---|---|---|
|
@@ -46,80 +46,19 @@ jobs: | |
cling: On | ||
cling-version: '1.0' | ||
cppyy: On | ||
#Commented out until Ubuntu on arm Github runner becomes | ||
#available os key to be replaced once known | ||
#- name: ubu22-arm-gcc12-clang-repl-17 | ||
# os: ubuntu-22.04-arm | ||
# compiler: gcc-12 | ||
# clang-runtime: '17' | ||
# cling: Off | ||
# cppyy: Off | ||
#- name: ubu22-arm-gcc12-clang-repl-17-cppyy | ||
# os: ubuntu-22.04-arm | ||
# compiler: gcc-12 | ||
# clang-runtime: '17' | ||
# cling: Off | ||
# cppyy: On | ||
#- name: ubu22-arm-gcc9-clang-repl-16 | ||
# os: ubuntu-22.04-arm | ||
# compiler: gcc-9 | ||
# clang-runtime: '16' | ||
# cling: Off | ||
# cppyy: Off | ||
#- name: ubu22-arm-gcc9-clang-repl-16-cppyy | ||
# os: ubuntu-22.04-arm | ||
# compiler: gcc-9 | ||
# clang-runtime: '16' | ||
# cling: Off | ||
# cppyy: On | ||
#- name: ubu22-arm-gcc9-clang13-cling | ||
# os: ubuntu-22.04-arm | ||
# compiler: gcc-9 | ||
# clang-runtime: '13' | ||
# cling: On | ||
# cling-version: '1.0' | ||
# cppyy: Off | ||
#- name: ubu22-arm-gcc9-clang13-cling-cppyy | ||
# os: ubuntu-22.04-arm | ||
# compiler: gcc-9 | ||
# clang-runtime: '13' | ||
# cling: On | ||
# cling-version: '1.0' | ||
# cppyy: On | ||
# - name: win2022-msvc-clang-repl-17 | ||
# os: windows-2022 | ||
# compiler: msvc | ||
# clang-runtime: '17' | ||
# cling: Off | ||
# cppyy: Off | ||
#Commented out until rest of ci for Windows tested | ||
#Commented out until CppInterOp passes all tests on Windows | ||
#- name: win2022-msvc-clang-repl-17-cppyy | ||
# os: windows-2022 | ||
# compiler: msvc | ||
# clang-runtime: '17' | ||
# cling: Off | ||
# cppyy: On | ||
# - name: win2022-msvc-clang-repl-16 | ||
# os: windows-2022 | ||
# compiler: msvc | ||
# clang-runtime: '16' | ||
# cling: Off | ||
# cppyy: Off | ||
#Commented out until rest of ci for Windows tested | ||
#- name: win2022-msvc-clang-repl-16-cppyy | ||
# os: windows-2022 | ||
# compiler: msvc | ||
# clang-runtime: '16' | ||
# cling: Off | ||
# cppyy: On | ||
# - name: win2022-msvc-cling | ||
# os: windows-2022 | ||
# compiler: msvc | ||
# clang-runtime: '13' | ||
# cling: On | ||
# cling-version: '1.0' | ||
# cppyy: Off | ||
#Commented out until rest of ci for Windows tested | ||
#- name: win2022-msvc-cling-cppyy | ||
# os: windows-2022 | ||
# compiler: msvc | ||
|
@@ -179,13 +118,13 @@ jobs: | |
cppyy: On | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
python-version: '3.11' | ||
|
||
- name: Save PR Info on Unix systems | ||
if: ${{ runner.os != 'windows' }} | ||
|
@@ -208,8 +147,6 @@ jobs: | |
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV | ||
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV | ||
- uses: nelonoel/[email protected] | ||
|
||
- name: Save PR Info on Windows systems | ||
if: ${{ runner.os == 'windows' }} | ||
run: | | ||
|
@@ -236,8 +173,6 @@ jobs: | |
echo "CLING_HASH=$env:CLING_HASH" >> $GITHUB_ENV | ||
echo "LLVM_HASH=$env:LLVM_HASH" >> $GITHUB_ENV | ||
- uses: nelonoel/[email protected] | ||
- name: Setup default Build Type on *nux | ||
if: runner.os != 'windows' | ||
|
@@ -349,6 +284,7 @@ jobs: | |
if: runner.os == 'macOS' | ||
run: | | ||
brew update | ||
brew remove [email protected] | ||
# workaround for https://github.com/actions/setup-python/issues/577 | ||
for pkg in $(brew list | grep '^python@'); do | ||
brew unlink "$pkg" | ||
|
@@ -358,7 +294,7 @@ jobs: | |
pip install distro pytest | ||
- name: Restore Cache LLVM/Clang runtime build directory | ||
uses: actions/cache/restore@v3 | ||
uses: actions/cache/restore@v4 | ||
id: cache | ||
with: | ||
path: | | ||
|
@@ -437,7 +373,7 @@ jobs: | |
cd ../../ | ||
mkdir ./cppyy-backend/llvm-project/ | ||
#FIXME: Avoid copy command by caching based on absolute path | ||
cp -r -v ./llvm-project/* ./cppyy-backend/llvm-project/ | ||
cp -r ./llvm-project/* ./cppyy-backend/llvm-project/ | ||
echo "Copy llvm-project folder to cppyy-backend for caching" | ||
- name: Build LLVM/Cling on Windows systems if the cache is invalid | ||
|
@@ -513,11 +449,11 @@ jobs: | |
} | ||
cd ../../ | ||
mkdir .\cppyy-backend\llvm-project\ | ||
cp -r -v .\llvm-project\ .\cppyy-backend\ | ||
cp -r .\llvm-project\ .\cppyy-backend\ | ||
echo "Copy llvm-project folder to cppyy-backend for caching" | ||
- name: Save Cache LLVM/Clang runtime build directory | ||
uses: actions/cache/save@v3 | ||
uses: actions/cache/save@v4 | ||
if: ${{ steps.cache.outputs.cache-hit != 'true' }} | ||
with: | ||
path: | | ||
|