Build using LLVM 18

This commit is contained in:
Christoffer Lerno
2024-07-05 01:44:34 +02:00
parent 85a535dd0c
commit cc935862b7

View File

@@ -317,7 +317,7 @@ jobs:
python3 src/tester.py ../build/c3c test_suite/
- name: bundle_output
if: matrix.llvm_version == 16
if: matrix.llvm_version == env.LLVM_RELEASE_VERSION
run: |
mkdir linux
cp -r lib linux
@@ -326,7 +326,7 @@ jobs:
tar czf c3-linux-${{matrix.build_type}}.tar.gz linux
- name: upload artifacts
if: matrix.llvm_version == 16
if: matrix.llvm_version == env.LLVM_RELEASE_VERSION
uses: actions/upload-artifact@v3
with:
name: c3-linux-${{matrix.build_type}}
@@ -339,7 +339,7 @@ jobs:
fail-fast: false
matrix:
build_type: [Release, Debug]
llvm_version: [16]
llvm_version: [16,17]
steps:
- uses: actions/checkout@v4
@@ -424,7 +424,7 @@ jobs:
python3 src/tester.py ../build/c3c test_suite/
- name: bundle_output
if: matrix.llvm_version == 16
if: matrix.llvm_version == 17
run: |
mkdir linux
cp -r lib linux
@@ -433,7 +433,7 @@ jobs:
tar czf c3-ubuntu-20-${{matrix.build_type}}.tar.gz linux
- name: upload artifacts
if: matrix.llvm_version == 16
if: matrix.llvm_version == 17
uses: actions/upload-artifact@v3
with:
name: c3-ubuntu-20-${{matrix.build_type}}