-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to a GitHub action (instead of container-based) CI approach
Also, that GitHub action is now the "official" action for Erlang+rebar3 CI, as per EEF
- Loading branch information
1 parent
0f3ce88
commit 018ad53
Showing
1 changed file
with
11 additions
and
14 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,33 +11,30 @@ jobs: | |
ci: | ||
name: Run checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}} | ||
runs-on: ${{matrix.os}} | ||
container: | ||
image: erlang:${{matrix.otp_vsn}} | ||
strategy: | ||
matrix: | ||
otp_vsn: ["21.3", "22.3", "23.2"] | ||
otp_vsn: ["21", "22", "23"] | ||
os: [ubuntu-latest] | ||
steps: | ||
- name: Install Git 2.18 | ||
shell: bash | ||
run: | | ||
apt-get update | ||
apt-get -y install tcl tcl-dev gettext | ||
sudo apt-get update | ||
sudo apt-get -y install tcl tcl-dev gettext libcurl4-openssl-dev | ||
cd /usr/src/ | ||
wget https://github.com/git/git/archive/v2.18.0.tar.gz -O git.tar.gz | ||
tar -xf git.tar.gz | ||
sudo wget https://github.com/git/git/archive/v2.18.0.tar.gz -O git.tar.gz | ||
sudo tar -xf git.tar.gz | ||
cd git-* | ||
make prefix=/usr/local all | ||
make prefix=/usr/local install | ||
sudo make prefix=/usr/local all | ||
sudo make prefix=/usr/local install | ||
cd $HOME | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Environment versions | ||
shell: bash | ||
run: | | ||
rebar3 --version | ||
erl -version | ||
- uses: erlef/[email protected] | ||
with: | ||
otp-version: ${{matrix.otp_vsn}} | ||
rebar3-version: '3.14' | ||
- shell: bash | ||
run: rebar3 dialyzer | ||
- shell: bash | ||
|