Update CI (#25) #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install OpenSSL 1.1.1 (for OTP23/24) | |
| run: | | |
| curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.24_amd64.deb | |
| curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2.24_amd64.deb | |
| curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.1.1f-1ubuntu2.24_amd64.deb | |
| sudo dpkg -i openssl_1.1.1f-1ubuntu2.24_amd64.deb \ | |
| libssl1.1_1.1.1f-1ubuntu2.24_amd64.deb \ | |
| libssl-dev_1.1.1f-1ubuntu2.24_amd64.deb | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/erlide_tools | |
| ~/.kerl | |
| key: ${{ runner.os }}-otp-${{ hashFiles('build_utils.sh') }} | |
| - name: Set up JDK 1.8 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '8' | |
| distribution: 'zulu' | |
| cache: 'maven' | |
| - name: Build | |
| run: ./build | |
| - name: Test | |
| run: ./build test | |
| - name: Dialyzer | |
| continue-on-error: true # Until problems are fixed | |
| run: ./build dialyzer | |
| - name: Xref | |
| continue-on-error: true # Until problems are fixed | |
| run: ./build xref | |
| - name: Build zip archive for Eclipse | |
| run: cd eclipse && ./build |