kind: pipeline type: docker name: linux-amd64-taggedver platform: arch: amd64 os: linux steps: - name: build_golang image: golang commands: - cd dlserver - go mod download - go build . - CGO_ENABLED=0 GOOS=windows go build -a -installsuffix cgo -o dlserver.exe . - name: get_win_ffmpeg image: busybox commands: - mkdir -p tmp - cd tmp # local cache, local pls - echo "10.43.14.171 nextcloud.martyn.berlin" >> /etc/hosts # original url : wget http://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-4.3.1-essentials_build.zip - wget -O ffmpeg.zip https://nextcloud.martyn.berlin/s/WdHk8sfZ28JXqjH/download - unzip ffmpeg.zip - name: get_win_ytdl image: busybox commands: - mkdir -p tmp - cd tmp - wget https://github.com/ytdl-org/youtube-dl/releases/download/2020.09.14/youtube-dl.exe - name: build_godot_windows image: barichello/godot-ci:3.2.3 commands: - cp dlserver/dlserver.exe godot/ - cp tmp/ffmpeg-4.3.1-essentials_build/bin/ffmpeg.exe godot/ - cp tmp/youtube-dl.exe godot/ - cd godot/ - mkdir -v -p build/windows - godot -v --export "win64" build/windows/asingcrow.exe - name: package image: alpine commands: - apk add --no-cache zip - cd godot/build/windows - zip asyncrow-release.zip asingrow.exe asingrow.pck - name: release image: plugins/gitea-release settings: api_key: f72787a6777986271730d24e7ccb3dc61d8c370b #don't worry, this is temporary whilst we test! base_url: http://10.43.26.198 files: - godot/build/windows/asyncrow-release.zip when: event: tag