From 1377f14f9588c42c65ee81fdd3cab3f8a4c740e3 Mon Sep 17 00:00:00 2001 From: Joseph Lynch Date: Wed, 10 Apr 2024 23:03:15 -0400 Subject: [PATCH] Try bare runner --- .github/workflows/ci.yml | 59 ++++++++++++++++++++++++++++++---------- 1 file changed, 44 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3366af1..feea8d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,25 +9,54 @@ on: - v'*' pull_request: jobs: - build: + jammy-java: runs-on: ubuntu-latest - strategy: - matrix: - include: - - target: test_bionic_openjdk8 - - target: test_bionic_openjdk11 - - target: test_bionic_zulu8 - - target: test_bionic_zulu11 - - target: test_jammy_openjdk8 - - target: test_jammy_openjdk11 - - target: test_centos7_openjdk8 steps: - uses: actions/checkout@v2 - - name: ulimit + - name: "Set nproc limits" run: | sudo prlimit --pid $$ --nofile=32768:32768 --nproc=32768:32768 ulimit -n -u - - name: "Run tests" + - name: "Setup python for tox" + uses: actions/setup-python@v4 + with: + python-version: "3.11" + - name: "Install tox for test suite" + run: pip install tox + - uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: | + 8 + 11 + 17 + 21 + - name: "Test Java 8" env: - TARGET: ${{ matrix.target }} - run: "make $TARGET" + JAVA_HOME: /usr/lib/jvm + run: "ls /usr/lib/jvm" +# env: + # TARGET: ${{ matrix.target }} + # run: "make $TARGET" + # build: + # runs-on: ubuntu-latest + # strategy: + # matrix: + # include: + # - target: test_bionic_openjdk8 + # - target: test_bionic_openjdk11 + # - target: test_bionic_zulu8 + # - target: test_bionic_zulu11 + # - target: test_jammy_openjdk8 + # - target: test_jammy_openjdk11 + # - target: test_centos7_openjdk8 + # steps: + # - uses: actions/checkout@v2 + # - name: ulimit + # run: | + # sudo prlimit --pid $$ --nofile=32768:32768 --nproc=32768:32768 + # ulimit -n -u + # - name: "Run tests" + # env: + # TARGET: ${{ matrix.target }} + # run: "make $TARGET"