|
|
@ -0,0 +1,57 @@ |
|
|
|
name: 'test' |
|
|
|
|
|
|
|
on: |
|
|
|
push: |
|
|
|
pull_request: |
|
|
|
|
|
|
|
jobs: |
|
|
|
|
|
|
|
|
|
|
|
lin: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: actions/checkout@v2 |
|
|
|
with: |
|
|
|
submodules: recursive |
|
|
|
|
|
|
|
- name: Install dependencies |
|
|
|
run: | |
|
|
|
sudo apt update -qq |
|
|
|
sudo apt install -y libssl-dev |
|
|
|
|
|
|
|
- uses: ghdl/setup-ghdl-ci@master |
|
|
|
with: |
|
|
|
backend: llvm |
|
|
|
|
|
|
|
- run: ./.github/test.sh |
|
|
|
env: |
|
|
|
MAKE: make |
|
|
|
|
|
|
|
|
|
|
|
win: |
|
|
|
runs-on: windows-latest |
|
|
|
defaults: |
|
|
|
run: |
|
|
|
shell: msys2 {0} |
|
|
|
steps: |
|
|
|
|
|
|
|
- uses: msys2/setup-msys2@v2 |
|
|
|
with: |
|
|
|
msystem: MINGW64 |
|
|
|
update: true |
|
|
|
install: > |
|
|
|
mingw-w64-x86_64-make |
|
|
|
mingw-w64-x86_64-ghdl-llvm |
|
|
|
mingw-w64-x86_64-openssl |
|
|
|
|
|
|
|
- run: git config --global core.autocrlf input |
|
|
|
shell: bash |
|
|
|
|
|
|
|
- uses: actions/checkout@v2 |
|
|
|
with: |
|
|
|
submodules: recursive |
|
|
|
|
|
|
|
- run: ./.github/test.sh |
|
|
|
env: |
|
|
|
MAKE: mingw32-make |