Skip to content

Commit

Permalink
CI: add windows builder, upload artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
nyetwurk committed Oct 27, 2024
1 parent 2d23438 commit a7dbc16
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/c-cpp.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/debian-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Debian Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: install libgmp-dev
run: |
sudo apt-get update
sudo apt-get install -y libgmp-dev
- uses: actions/checkout@v4
- name: make
run: make
- name: make test
run: make test
- uses: rlespinasse/github-slug-action@v4
if: ${{ github.event_name != 'release' }}
with:
short-length: 6
- uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'release' }}
with:
name: me7sum-${{ env.GITHUB_SHA_SHORT }}-debian
path: |
me7sum
ME7Check_linux
README.md
32 changes: 32 additions & 0 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Windows Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: x86
- name: build
run: nmake
- uses: rlespinasse/github-slug-action@v4
if: ${{ github.event_name != 'release' }}
with:
short-length: 6
- uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'release' }}
with:
name: me7sum-${{ env.GITHUB_SHA_SHORT }}-win
path: |
me7sum.exe
ME7Check.exe
README.md

0 comments on commit a7dbc16

Please sign in to comment.