From 74efb7c71a1bc922df55fc696410a751a171807f Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Fri, 23 May 2025 10:12:43 -0700 Subject: [PATCH 1/4] chore: macos gh actions --- .github/workflows/main.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f7e238f..06a79e8 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -63,6 +63,19 @@ jobs: if-no-files-found: error retention-days: 0 + build-script-macos: + name: 'build.sh' + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - run: ./build.sh + - uses: actions/upload-artifact@v4 + with: + name: cpp2b-macos-latest + path: dist/debug/cpp2b + if-no-files-found: error + retention-days: 0 + build-self-linux: name: 'build self (linux)' needs: build-script-linux From 65de584d3b7be7240bf9c0c4fb0d4a8959aacc22 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Fri, 23 May 2025 10:16:47 -0700 Subject: [PATCH 2/4] chore: install llvm 19 with brew --- .github/workflows/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 06a79e8..f914c07 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -68,6 +68,7 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v4 + - run: brew install llvm@19 - run: ./build.sh - uses: actions/upload-artifact@v4 with: From 4873649e3f419ad2420c994343ec7e6a440eb123 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Fri, 23 May 2025 10:18:56 -0700 Subject: [PATCH 3/4] fix: specify clang for build.sh --- .github/workflows/main.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f914c07..0ac64fa 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -46,7 +46,7 @@ jobs: - run: .\cpp2b-self.exe build build-script-linux: - name: 'build.sh' + name: 'build.sh (linux)' runs-on: ubuntu-24.04 steps: - run: wget https://apt.llvm.org/llvm.sh @@ -64,12 +64,12 @@ jobs: retention-days: 0 build-script-macos: - name: 'build.sh' + name: 'build.sh (macos)' runs-on: macos-latest steps: - uses: actions/checkout@v4 - run: brew install llvm@19 - - run: ./build.sh + - run: CC=clang ./build.sh - uses: actions/upload-artifact@v4 with: name: cpp2b-macos-latest From 76a4fcf3e7f41156c3db47cd1cd81c6c87ae364a Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Fri, 23 May 2025 10:25:19 -0700 Subject: [PATCH 4/4] fix: add llvm 19 to github path --- .github/workflows/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 0ac64fa..3fc713a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -69,6 +69,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: brew install llvm@19 + - run: echo "$(brew --prefix llvm@19)/bin" >> $GITHUB_PATH - run: CC=clang ./build.sh - uses: actions/upload-artifact@v4 with: