Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 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
1 change: 1 addition & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:

env:
CFG_RELEASE_CHANNEL: ${{ matrix.cfg-release-channel }}
CFG_RELEASE: ${{ matrix.cfg-release-channel }}

steps:
- name: checkout
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
]
channel: [ nightly ]

env:
CFG_RELEASE_CHANNEL: nightly
CFG_RELEASE: nightly

steps:
- name: checkout
uses: actions/checkout@v2
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
target: i686-pc-windows-gnu
mingw-7z-path: mingw

env:
CFG_RELEASE_CHANNEL: nightly
CFG_RELEASE: nightly

steps:
# The Windows runners have autocrlf enabled by default
# which causes failures for some of rustfmt's line-ending sensitive tests
Expand Down
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ after_success:

before_deploy:
# TODO: cross build
- export CFG_RELEASE_CHANNEL=nightly
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be up above in the script section?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah good catch, thanks!

- export CFG_RELEASE=nightly
- cargo build --release --target=x86_64-unknown-linux-gnu
- tar czf rustfmt-x86_64-unknown-linux-gnu.tar.gz Contributing.md Design.md README.md -C target/x86_64-unknown-linux-gnu/release/rustfmt rustfmt

Expand Down
Loading