summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2022-06-16 08:29:29 +0300
committerAarni Koskela <akx@iki.fi>2022-06-16 08:48:36 +0300
commit2e621d14997f61ab5be40954d75a6bdb828f79d0 (patch)
tree7019bc00f3fa5baadf523c90605f40a475d4f8d4 /.github
parent24bc2ddd682631439a590da89735297e09419289 (diff)
downloadbabel-2e621d14997f61ab5be40954d75a6bdb828f79d0.tar.gz
Add GitHub Actions workflow for building packages
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..7c6a990
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,25 @@
+name: CI
+"on":
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+jobs:
+ Build:
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v4
+ with:
+ python-version: "3.10"
+ cache: "pip"
+ cache-dependency-path: "**/setup.py"
+ - run: pip install build -e .
+ - run: make import-cldr
+ - run: python -m build
+ - uses: actions/upload-artifact@v3
+ with:
+ name: dist
+ path: dist