Skip to content

Commit

Permalink
Remove insecure test runner config
Browse files Browse the repository at this point in the history
  • Loading branch information
rinon committed Aug 4, 2023
1 parent 2ad7046 commit e1bfce3
Showing 1 changed file with 0 additions and 54 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,57 +45,3 @@ jobs:
pushd build
ninja -v check-ia2
popd
test-insecure-on-ubuntu-focal:
runs-on: ubuntu-20.04
strategy:
matrix:
clang-version: [10, 11, 12, 13, 14, 15]
steps:
- name: Provision build environment
run: |
sudo apt-get update
sudo apt install -y libusb-1.0-0-dev \
ninja-build zlib1g-dev libavformat-dev libavutil-dev pcregrep \
patchelf
pip3 install lit
rustup install nightly
- name: Install Clang from distro repo
if: ${{ matrix.clang-version < 13 }}
run: |
sudo apt install -y libclang-${{ matrix.clang-version }}-dev
- name: Install Clang PPA
if: ${{ matrix.clang-version >= 13 }}
run: |
sudo apt install -y wget
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-${{ matrix.clang-version }} main"
sudo apt install -y clang-${{ matrix.clang-version }} \
libclang-${{ matrix.clang-version }}-dev
- name: Check out code
uses: actions/checkout@v3
- name: Build
run: |
mkdir build
pushd build
cmake .. \
-DClang_DIR=/usr/lib/cmake/clang-${{ matrix.clang-version }} \
-DLLVM_DIR=/usr/lib/llvm-${{ matrix.clang-version }}/cmake \
-DLLVM_EXTERNAL_LIT=$HOME/.local/bin/lit \
-DLIBIA2_INSECURE=ON \
-G Ninja
ninja
popd
- name: Check
run: |
pushd build
ninja -v check-ia2
popd
- name: Save tests
uses: actions/upload-artifact@v3
if: failure()
with:
name: build
path: |
build/libia2/
build/partition-alloc/
build/rewriter/tests/

0 comments on commit e1bfce3

Please sign in to comment.