Add GH Actions build script (#4)
This commit is contained in:
parent
ed81b06414
commit
0c215ec98d
|
|
@ -0,0 +1,24 @@
|
||||||
|
name: Run tests
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: 'recursive'
|
||||||
|
|
||||||
|
- name: Install dmd
|
||||||
|
run: |
|
||||||
|
curl https://dlang.org/install.sh | bash -s
|
||||||
|
|
||||||
|
# Uncomment to get a ssh connection inside the GH Actions runner
|
||||||
|
#- name: Setup upterm session
|
||||||
|
#uses: lhotari/action-upterm@v1
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: |
|
||||||
|
source ~/dlang/*/activate
|
||||||
|
make test
|
||||||
|
|
||||||
1
makefile
1
makefile
|
|
@ -113,7 +113,6 @@ SHELL:=/usr/bin/env bash
|
||||||
|
|
||||||
GITHASH = bin/githash.txt
|
GITHASH = bin/githash.txt
|
||||||
|
|
||||||
|
|
||||||
$(OBJ_DIR)/$(DC)/%.o: %.d
|
$(OBJ_DIR)/$(DC)/%.o: %.d
|
||||||
${DC} ${DC_FLAGS} ${VERSIONS} ${INCLUDE_PATHS} -c $< ${WRITE_TO_TARGET_NAME}
|
${DC} ${DC_FLAGS} ${VERSIONS} ${INCLUDE_PATHS} -c $< ${WRITE_TO_TARGET_NAME}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue