34 lines
836 B
YAML
34 lines
836 B
YAML
name: C/C++ CI
|
|
|
|
on:
|
|
push:
|
|
# Sequence of patterns matched against refs/heads
|
|
branches:
|
|
- master # Push events on master branch
|
|
# Sequence of patterns matched against refs/tags
|
|
tags:
|
|
- v*
|
|
|
|
jobs:
|
|
build:
|
|
name: Windows 32bits
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
# Checkout
|
|
- uses: actions/checkout@v2
|
|
|
|
# Build
|
|
- name: build
|
|
run: |
|
|
mkdir ../builds
|
|
docker run --rm -it -v $(pwd)/../builds:/builds -v $(pwd):/sources "pwd;ls -lart;cd KiTTY/0.73_My_PuTTY/windows ; make -f MAKEFILE.MINGW cross ; cd /builds ; ls -l"
|
|
|
|
# Upload runner package tar.gz/zip as artifact
|
|
- name: Publish Artifact
|
|
if: github.event_name != 'pull_request'
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: $(pwd)/../builds/putty.exe
|