forked from mixxxdj/mixxx
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6cf9cd8
commit a0c3669
Showing
1 changed file
with
12 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
} | ||
- { os: windows-latest, compiler: cl, flags: "/O2 /Qvec-report:2" } | ||
fileset: | ||
- ["src/util/sample.cpp", "src/util/sample.h"] | ||
- "src/util/sample.cpp src/util/sample.h" | ||
steps: | ||
- name: "Check out repository" | ||
uses: actions/[email protected] | ||
|
@@ -48,18 +48,17 @@ jobs: | |
shell: bash | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
FILESET=${{ toJson(matrix.fileset) }} | ||
if [[ "${{ runner.os }}" == "Windows" ]]; then | ||
shell: pwsh | ||
run: | | ||
if ("${{ matrix.config.compiler }}" -eq "gcc") { | ||
$OUTPUT = & "${{ matrix.config.compiler }}" "${{ matrix.config.flags }}" "$FILESET" | ||
echo "result=$OUTPUT" >> $env:GITHUB_ENV | ||
} | ||
else | ||
OUTPUT=$("${{ matrix.config.compiler }}" "${{ matrix.config.flags }}" "$FILESET") | ||
echo "result=$OUTPUT" >> $GITHUB_ENV | ||
fi | ||
if [[ "${{ runner.os }}" == "Windows" ]]; then | ||
shell: pwsh | ||
run: | | ||
if ("${{ matrix.config.compiler }}" -eq "gcc") { | ||
$OUTPUT = & "${{ matrix.config.compiler }}" "${{ matrix.config.flags }}" "${{ matrix.fileset }}" | ||
echo "result=$OUTPUT" >> $env:GITHUB_ENV | ||
} | ||
else | ||
OUTPUT=$("${{ matrix.config.compiler }}" "${{ matrix.config.flags }}" "${{ matrix.fileset }}") | ||
echo "result=$OUTPUT" >> $GITHUB_ENV | ||
fi | ||
- name: Print vectorization results | ||
id: evaluate | ||
|