Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
radamsa built for windows (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmc-msft authored Oct 19, 2020
1 parent 9bf3d55 commit 24e437b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,15 @@ jobs:
with:
name: build-artifacts
path: artifacts
radamsa-win64:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- run: c:\msys64\usr\bin\bash src/ci/radamsa-windows.sh
- uses: actions/upload-artifact@v2.1.4
with:
name: build-artifacts
path: artifacts
package:
needs:
- agent
Expand All @@ -235,7 +244,9 @@ jobs:
- proxy
- service
- afl
- aflpp
- radamsa-linux
- radamsa-win64
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
Expand Down
20 changes: 20 additions & 0 deletions src/ci/radamsa-windows.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash
#
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.

# NOTE: This assumes building within msys64/bash

set -ex

export PATH=/usr/bin:$PATH
pacman -S gcc gzip --noconfirm

mkdir -p artifacts/third-party/radamsa-win64
git clone https://gitlab.com/akihe/radamsa
cd radamsa
# latest checked version
git checkout 8121b78fb8f87e869cbeca931964df2b32435eb7
make
cp LICENCE bin/* ../artifacts/third-party/radamsa-win64
cp /c/msys64/usr/bin/msys-2.0.dll ../artifacts/third-party/radamsa-win64

0 comments on commit 24e437b

Please sign in to comment.