Merge pull request #3 from maweil/patch-1 #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build make for Windows (x86_64) | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: registry.fedoraproject.org/fedora:37 | |
steps: | |
- name: Install Dependencies | |
run: dnf install -y -q mingw64-gcc make wget tar | |
- uses: actions/checkout@v3 | |
- name: Download make release tar.gz file | |
run: wget "https://ftpmirror.gnu.org/make/$(cat build_version.sha256sum | cut -d ' ' -f3)" | |
- name: Verify the hash of the tar.gz file | |
run: sha256sum -c build_version.sha256sum | |
- name: Run the build process | |
run: ./cross_build_w64.sh | |
- name: Hash the built binaries | |
run: sha256sum make-*/dist/* | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: make-bin-win64 | |
path: ./make-*/dist/ |