Merge pull request #303 from qzhuyan/dev/william/statistics_v2 #469
This file contains 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: lux | |
on: [push, pull_request] | |
jobs: | |
run-lux-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
otp: | |
- 25.3.2 | |
- 26.2.1 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
with: | |
submodules: recursive | |
- uses: erlef/setup-beam@2f0cc07b4b9bea248ae098aba9e1a8a1de5ec24c # v1.17.5 | |
with: | |
otp-version: ${{ matrix.otp }} | |
rebar3-version: 3.23.0 | |
- name: build lux | |
run: | | |
git clone https://github.com/hawk/lux.git | |
cd lux | |
autoconf | |
./configure | |
make | |
sudo make install | |
- name: run example tests | |
run: | | |
which lux | |
make | |
cd test/example | |
make all lux |