diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 79cbd45..4cbc03e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,6 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] include: - os: ubuntu-latest optional_args: -pt @@ -29,13 +28,13 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Setup Fortran Compiler + - name: Setup Fortran compiler uses: fortran-lang/setup-fortran@8821f57b53846d35d62632eb51c60ac6c4bff4ce # v1.6.1 with: compiler: intel - name: Build C library # 1. Force to only build the 64-bit version since ITT API 32-bit support will be discontinued soon - # 2. Disable PT support for MacOS since we have x86 specific assembly instruction + # 2. Disable PT support for MacOS since we have x86 specific assembly instructions # 3. Switch to use Ninja CMake Generator for Windows since setup-fortran action # doesn't work in case of CMake + VS (https://github.com/fortran-lang/setup-fortran/issues/45) run: python buildall.py --force_bits 64 -ft ${{ matrix.optional_args }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f27d1e..72308f4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,6 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] include: - os: ubuntu-latest optional_args: -pt @@ -36,7 +35,7 @@ jobs: run: python buildall.py -ft ${{ matrix.optional_args }} - name: Display structure of files run: ls -R - - name: Upload Artifact + - name: Upload artifact uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0 with: name: build-artifacts-${{ matrix.os }} @@ -53,7 +52,7 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Create Release + - name: Create release id: create_release uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4 env: @@ -63,7 +62,7 @@ jobs: release_name: release ${{ github.ref_name }} draft: false prerelease: false - - name: Download Artifacts + - name: Download artifacts uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1 with: path: build-artifacts @@ -77,7 +76,7 @@ jobs: cd build-artifacts && zip -rg ../ittapi_build_${{ github.ref_name }}.zip build*/**/bin build*/fortran && cd - - - name: Upload Release Asset + - name: Upload release asset id: upload-release-asset uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2 env: