Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/GnuComment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:
var matchArtifact = artifacts.data.artifacts.filter((artifact) => {
return artifact.name == "comment"
})[0];

if (!matchArtifact) {
console.log('No comment artifact found');
return;
}

var download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
Expand All @@ -54,7 +54,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
var fs = require('fs');

// Check if files exist
if (!fs.existsSync('./NR')) {
console.log('No NR file found, skipping comment');
Expand All @@ -64,10 +64,10 @@ jobs:
console.log('No result.txt file found, skipping comment');
return;
}

var issue_number = Number(fs.readFileSync('./NR'));
var content = fs.readFileSync('./result.txt');

if (content.toString().trim().length > 7) { // 7 because we have backquote + \n
await github.rest.issues.createComment({
owner: context.repo.owner,
Expand All @@ -77,4 +77,4 @@ jobs:
});
} else {
console.log('Comment content too short, skipping');
}
}
2 changes: 1 addition & 1 deletion .github/workflows/GnuTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ jobs:
echo "ONLY_INTERMITTENT=true" >> $GITHUB_ENV
echo "::notice ::No new test failures detected"
fi

- name: Upload comparison log (for GnuComment workflow)
if: success() || failure()
uses: actions/upload-artifact@v7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ignore-intermittent.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# Add test names that are known to be flaky or environment-dependent
# Example:
# basic_substitution
# line_address_test
# line_address_test
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ harness = false
lto = true
panic = "abort"
# should be dropped to 1 for binary size without performance drop
codegen-units = 7
codegen-units = 7

# A release-like profile that is as small as possible.
[profile.release-small]
Expand Down
Loading