-
Notifications
You must be signed in to change notification settings - Fork 0
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
Atsushi Abe
committed
Jan 10, 2020
0 parents
commit e3a580c
Showing
6 changed files
with
64 additions
and
0 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
*~ |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM ubuntu:eoan | ||
|
||
RUN apt-get -q -y update && apt-get -q -y upgrade && apt-get -q -y install build-essential automake autoconf libtool pkg-config icu* libicu* icu-devtools libicu-dev libxml2-dev uuid-dev fuse libfuse-dev libsnmp-dev | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
COPY icu-config /usr/bin/icu-config | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# LTFS Build docker action for Ubuntu 19.10 (Eoan) | ||
|
||
This action builds the LTFS package on Ubuntu 19.10 | ||
|
||
## Inputs | ||
|
||
### `destination` | ||
|
||
**Required** Destination of install。 Default is `/tmp/ltfs`。 | ||
|
||
## Outputs | ||
|
||
None | ||
|
||
## Usage | ||
|
||
``` | ||
uses: LinearTapeFileSystem/Ubuntu1910-Build@v1.0 | ||
with: | ||
destination: '/tmp/ltfs' | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# action.yml | ||
name: 'Build Check' | ||
description: 'Build check of the LTFS package' | ||
inputs: | ||
destination: # id of input | ||
description: 'destination directory' | ||
required: true | ||
default: '/tmp/ltfs' | ||
outputs: | ||
time: # id of output | ||
description: 'Finish build check of the LTFS package' | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
args: | ||
- ${{ inputs.destination }} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh -l | ||
|
||
./autogen.sh | ||
./configure --prefix=$1 | ||
make | ||
make install |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
opts=$1 | ||
|
||
case $opts in | ||
'--cppflags') | ||
echo '' ;; | ||
'--ldflags') | ||
echo '-licuuc -licudata' ;; | ||
*) | ||
echo '/usr/lib/x86_64-linux-gnu/icu/pkgdata.inc' ;; | ||
esac |