Skip to content

Unescape gcc defines before use #1086

Unescape gcc defines before use

Unescape gcc defines before use #1086

Workflow file for this run

name: Docker Image CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Java
uses: actions/setup-java@v3
with:
java-version: '11.0.15'
distribution: 'temurin'
- name: Free disk space
run: |
df -h
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
- name: Build the extender-client.jar
run: (cd client && ../gradlew build)
- name: Test the extender-client.jar
run: (cd client && ../gradlew test)
- name: Build the Docker image
run: ./server/scripts/build.sh -xtest
env:
DM_PACKAGES_URL: ${{ secrets.S3_URL }}
- name: Test the Docker image
run: ./gradlew test
env:
DM_PACKAGES_URL: ${{ secrets.S3_URL }}
- name: Notify if tests failed
uses: homoluctus/slatify@master
if: failure()
with:
type: ${{ job.status }}
job_name: 'Extender tests'
channel: '#defold-alarms-build'
url: ${{ secrets.SLACK_WEBHOOK }}