mirror of https://github.com/contiki-ng/mspsim
Merge pull request #55 from pjonsson/fix-ci
CI: switch to Github workflows
This commit is contained in:
commit
9f0455e844
|
|
@ -0,0 +1,22 @@
|
|||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
java: [ '11', '17' ]
|
||||
name: Java ${{ matrix.Java }} sample
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup java
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: ${{ matrix.java }}
|
||||
- name: Build MSPSim
|
||||
- run: ant compile
|
||||
- name: Test MSPSim
|
||||
- run: ant test
|
||||
Loading…
Reference in New Issue