diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index fc56337..cb7c067 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -13,6 +13,16 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + - name: Install cross compile tools + run: | + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - + echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main" | sudo tee -a /etc/apt/sources.list > /dev/null + echo "deb-src http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main" | sudo tee -a /etc/apt/sources.list > /dev/null + sudo apt-get update + sudo apt-get install llvm-18 clang-18 lld-18 libnuma-dev -y + - name: install deps + run: make install-deps + - name: Set up Python uses: actions/setup-python@v5 with: @@ -33,15 +43,6 @@ jobs: path: builddir/meson-logs/testlog.txt - uses: actions/checkout@v4 - - name: Install cross compile tools - run: | - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main" | sudo tee -a /etc/apt/sources.list > /dev/null - echo "deb-src http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main" | sudo tee -a /etc/apt/sources.list > /dev/null - sudo apt-get update - sudo apt-get install llvm-18 clang-18 lld-18 -y - - name: install deps - run: make install-deps - name: install boost run: make install-boost - name: setup