File tree Expand file tree Collapse file tree 5 files changed +2
-21
lines changed
Expand file tree Collapse file tree 5 files changed +2
-21
lines changed Original file line number Diff line number Diff line change 7575 ~/.cargo/registry
7676 ~/.cargo/git
7777 key : ${{ runner.os }}-cargo-2-${{ hashFiles('**/Cargo.lock') }}
78- - if : runner.os == 'macOS'
79- run : |
80- brew install automake bison
81- brew link bison --force
82- echo "/usr/local/opt/bison/bin:$PATH" >> $GITHUB_PATH
8378 - run : cargo test --release
8479 - uses : actions/upload-artifact@v6
8580 with :
Original file line number Diff line number Diff line change 4747 toolchain : 1.91.1
4848 override : true
4949 target : aarch64-unknown-linux-gnu
50- - if : runner.os == 'macOS'
51- run : |
52- brew install automake bison
53- echo "/usr/local/opt/bison/bin:$PATH" >> $GITHUB_PATH
5450 - run : ./script/make_release
5551 - uses : actions/upload-artifact@v6
5652 with :
Original file line number Diff line number Diff line change 3131 toolchain : 1.91.1
3232 override : true
3333 target : aarch64-unknown-linux-gnu
34- - if : runner.os == 'macOS'
35- run : |
36- brew install automake bison
37- echo "/usr/local/opt/bison/bin:$PATH" >> $GITHUB_PATH
3834 - run : ./script/make_release
3935 - uses : actions/upload-artifact@v6
4036 with :
Original file line number Diff line number Diff line change 11FROM ubuntu:20.04
22RUN apt-get update
3- RUN apt-get install -y git bison build-essential autoconf ruby curl
3+ RUN apt-get install -y git build-essential autoconf ruby curl
44RUN apt-get install -y zlib1g-dev clang ruby-dev shellcheck
55RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
66RUN gem install bundler
@@ -9,6 +9,6 @@ RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
99 dpkg-reconfigure --frontend=noninteractive locales && \
1010 update-locale LANG=en_US.UTF-8
1111ENV LANG en_US.UTF-8
12- RUN apt-get install -y bison libyaml-dev
12+ RUN apt-get install -y libyaml-dev
1313
1414ADD ./ /root/rubyfmt.git
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -euxo pipefail
33
4- # if darwin, add PATH="/usr/local/opt/bison/bin:$PATH"
5- if [[ $OSTYPE == " darwin" * ]]; then
6- export PATH=" /opt/homebrew/opt/bison/bin:$PATH "
7- fi
8- bison --version
9-
104TAG=$( git describe --tags --exact-match HEAD)
115RELEASE_DIR=${RELEASE_DIR:- " tmp/releases/${TAG} -$( uname -s) /" }
126
You can’t perform that action at this time.
0 commit comments