update readme #308
This file contains hidden or 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: Fedora | |
| on: | |
| pull_request: | |
| push: | |
| release: | |
| types: [published] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| kind: [static, shared] | |
| runs-on: ${{ matrix.os }} | |
| container: fedora:latest | |
| concurrency: | |
| group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Fedora-${{ matrix.kind }} | |
| cancel-in-progress: true | |
| steps: | |
| - name: Installation | |
| run: | | |
| uname -a | |
| dnf -y install gfortran | |
| dnf -y install @development-tools @rpm-development-tools | |
| dnf -y install copr-cli make gcc-c++ libatomic | |
| dnf -y upgrade git | |
| dnf -y install perl | |
| dnf -y install glibc-static libstdc++-static | |
| dnf -y install ninja-build | |
| git config --global --add safe.directory /__w/xmake-repo/xmake-repo | |
| - uses: actions/checkout@v1 | |
| - name: Tests | |
| run: | | |
| ./configure | |
| make | |
| make run | |
| rm -rf build | |
| ./configure --generator=ninja --builddir=build-ninja | |
| ninja | |
| ninja run | |