11 runs-on: ubuntu-latest
12 container: simgrid/unstable
15 - uses: actions/checkout@v3
16 - name: Build and test WRENCH
19 ./tools/jenkins/ci-wrench.sh
21 - name: Create the failure Message
24 echo "{\"attachments\": [{\"color\": \"#FF0000\", \"text\":\"@henricasanova: Wrench's git failed to build on simgrid/unstable docker image! See ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}]}" > mattermost.json
25 - name: Create the success Message
28 echo "{\"attachments\": [{\"color\": \"#00FF00\", \"text\":\"Wrench's git successfully built on simgrid/unstable docker image. ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}]}" > mattermost.json
29 - uses: mattermost/action-mattermost-notify@master
32 MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
33 MATTERMOST_CHANNEL: ${{ secrets.MATTERMOST_CHANNEL}}