Skip to content

Commit

Permalink
compile make 4.4.1 from source and test against it
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Feb 27, 2023
1 parent add04dd commit 270fcd5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,29 @@ jobs:
- name: Install Rust (rustup)
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
shell: bash

- run: cargo test

# Compile it from source (temporarily)
- name: Make GNU Make from source
if: ${{ !startsWith(matrix.os, 'windows') }}
env:
VERSION: "4.4.1"
shell: bash
run: |
wget -q "https://ftp.gnu.org/gnu/make/make-${VERSION}.tar.gz"
tar zxf "make-${VERSION}.tar.gz"
pushd "make-${VERSION}"
./configure
make
popd
cp -rp "make-${VERSION}/make" .
- name: Test against GNU Make from source
if: ${{ !startsWith(matrix.os, 'windows') }}
shell: bash
run:
MAKE="${PWD}/make" cargo test

rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
Expand Down

0 comments on commit 270fcd5

Please sign in to comment.