Merge branch 'release/0.3.3' #66
Workflow file for this run
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: Common Test | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [master, "avoid_234"] | |
| tags: ["*"] | |
| jobs: | |
| build_and_test: | |
| name: Build and Test on Erlang/OTP ${{matrix.otp}} | Rebar3 ${{matrix.rebar3}} | Rust ${{matrix.rust}} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| otp: ['26.2.5.7'] | |
| # elixir: ['1.16.1'] | |
| rebar3: ['3.24.0'] | |
| rust: ['1.78.0'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install build dependencies | |
| run: | | |
| sudo apt-get update -y | |
| sudo apt-get install -y --no-install-recommends build-essential cmake liblz4-dev libncurses-dev libsnappy-dev libssl-dev liburing-dev liburing2 openssl pkg-config bash curl git tar | |
| - name: Install Rust ${{matrix.rust}} toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: ${{matrix.rust}} | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| shared-key: rustler | |
| save-if: false | |
| - name: Install OTP Rebar3 | |
| uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{matrix.otp}} | |
| # elixir-version: ${{matrix.elixir}} | |
| rebar3-version: ${{matrix.rebar3}} | |
| - name: Install build dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install liburing-dev pkg-config build-essential | |
| - name: Start epmd | |
| run: epmd -daemon | |
| - name: Build and Test cozodb | |
| run: make test | |