File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,16 @@ jobs:
3636 - otp_version : maint
3737 development : true
3838 runs-on : ubuntu-24.04
39- env :
40- ERL_COMPILER_OPTIONS : ${{ matrix.deterministic && 'warnings_as_errors deterministic' || '' }}
4139 steps :
4240 - uses : actions/checkout@v4
4341 with :
4442 fetch-depth : 50
4543 - uses : erlef/setup-beam@v1
4644 with :
4745 otp-version : ${{ matrix.otp_version }}
46+ - name : Set ERL_COMPILER_OPTIONS
47+ if : ${{ matrix.deterministic }}
48+ run : echo 'ERL_COMPILER_OPTIONS="deterministic warnings_as_errors"' >> $GITHUB_ENV
4849 - name : Compile Elixir
4950 run : |
5051 make compile
@@ -69,12 +70,12 @@ jobs:
6970 cd ../elixir/
7071 make docs
7172 - name : Check reproducible builds
73+ if : ${{ matrix.deterministic }}
7274 run : |
7375 rm -rf .git
7476 # Recompile System without .git
7577 cd lib/elixir && ../../bin/elixirc -o ebin lib/system.ex && cd -
7678 taskset 1 make check_reproducible
77- if : ${{ matrix.deterministic }}
7879
7980 test_windows :
8081 name : Windows Server 2019, Erlang/OTP ${{ matrix.otp_version }}
You can’t perform that action at this time.
0 commit comments