-
Notifications
You must be signed in to change notification settings - Fork 8
33 lines (25 loc) · 906 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Build make for Windows (x86_64)
on:
workflow_dispatch:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
container: registry.fedoraproject.org/fedora:41
steps:
- name: Install Dependencies
run: dnf install --setopt=install_weak_deps=False -y -q mingw64-gcc make wget tar
- uses: actions/checkout@v4
- 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@v4
with:
name: make-bin-win64
path: ./make-*/dist/