updating build scripts to not use ICU
This commit is contained in:
parent
61de064575
commit
0be18205c8
4 changed files with 8 additions and 13 deletions
4
.github/workflows/basic-check.yml
vendored
4
.github/workflows/basic-check.yml
vendored
|
@ -17,12 +17,8 @@ jobs:
|
||||||
- name: Install Linters
|
- name: Install Linters
|
||||||
run: "curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0"
|
run: "curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0"
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
|
||||||
GO111MODULE: "on"
|
|
||||||
run: go build ./...
|
run: go build ./...
|
||||||
- name: Test
|
- name: Test
|
||||||
env:
|
|
||||||
GO111MODULE: "on"
|
|
||||||
run: |
|
run: |
|
||||||
sh ./goclean.sh
|
sh ./goclean.sh
|
||||||
|
|
||||||
|
|
13
.github/workflows/create-release.yml
vendored
13
.github/workflows/create-release.yml
vendored
|
@ -12,8 +12,9 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go: [1.16]
|
go: [1.16]
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [linux, darwin, windows]
|
||||||
runs-on: ${{ matrix.os }}
|
ar: [amd64, arm64]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
|
@ -21,13 +22,11 @@ jobs:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: ${{ matrix.go }}
|
||||||
- name: Checkout source
|
- name: Checkout source
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install coreutils, ICU for macOS
|
|
||||||
if: matrix.os == 'macos-latest'
|
|
||||||
run: brew install coreutils icu4c
|
|
||||||
- name: Build executables
|
- name: Build executables
|
||||||
env:
|
env:
|
||||||
GO111MODULE: "on"
|
GOOS: ${{ matrix.os }}
|
||||||
run: go build -trimpath -o artifacts/ --tags use_icu_normalization .
|
GOARCH: ${{ matrix.ar }}
|
||||||
|
run: go build -trimpath -o artifacts/ .
|
||||||
- name: SHA256 sum
|
- name: SHA256 sum
|
||||||
run: sha256sum -b artifacts/* > artifacts/lbcd.sha256
|
run: sha256sum -b artifacts/* > artifacts/lbcd.sha256
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
|
|
2
.github/workflows/full-sync-part-1.yml
vendored
2
.github/workflows/full-sync-part-1.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
||||||
- name: Checkout source
|
- name: Checkout source
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Build lbcd
|
- name: Build lbcd
|
||||||
run: go build --tags use_icu_normalization .
|
run: go build .
|
||||||
- name: Create datadir
|
- name: Create datadir
|
||||||
run: echo "TEMP_DATA_DIR=$(mktemp -d)" >> $GITHUB_ENV
|
run: echo "TEMP_DATA_DIR=$(mktemp -d)" >> $GITHUB_ENV
|
||||||
- name: Run lbcd
|
- name: Run lbcd
|
||||||
|
|
2
.github/workflows/full-sync-part-2.yml
vendored
2
.github/workflows/full-sync-part-2.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
||||||
- name: Checkout source
|
- name: Checkout source
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Build lbcd
|
- name: Build lbcd
|
||||||
run: go build --tags use_icu_normalization .
|
run: go build .
|
||||||
- name: Create datadir
|
- name: Create datadir
|
||||||
run: echo "TEMP_DATA_DIR=$(mktemp -d)" >> $GITHUB_ENV
|
run: echo "TEMP_DATA_DIR=$(mktemp -d)" >> $GITHUB_ENV
|
||||||
- name: Copy initial data
|
- name: Copy initial data
|
||||||
|
|
Loading…
Reference in a new issue