From ff570b52d0279b8447e84b51beac3b7f0395ab80 Mon Sep 17 00:00:00 2001 From: Leonardo Lima Date: Wed, 21 Oct 2020 18:45:57 -0300 Subject: [PATCH 1/4] Implemented GitHub Actions workflow for Ubuntu --- .github/workflows/ubuntu.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ubuntu.yml diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml new file mode 100644 index 0000000..622a3f5 --- /dev/null +++ b/.github/workflows/ubuntu.yml @@ -0,0 +1,24 @@ +name: Ubuntu + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: configure + run: cmake . + + - name: build + run: make -j4 From 8e05dfe1347c41785a0a9b31a9e2af941793fca0 Mon Sep 17 00:00:00 2001 From: Leonardo Lima Date: Wed, 21 Oct 2020 18:46:16 -0300 Subject: [PATCH 2/4] Implemented GitHub Actions workflow for MacOS --- .github/workflows/macos.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/macos.yml diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..658644e --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,24 @@ +name: MacOS + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + + runs-on: macos-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Configure + run: cmake . + + - name: Build + run: make -j4 From bc924b41a8af0e97fa25646144694c626d08a3d6 Mon Sep 17 00:00:00 2001 From: Leonardo Lima Date: Wed, 21 Oct 2020 18:46:25 -0300 Subject: [PATCH 3/4] Implemented GitHub Actions workflow for Windows --- .github/workflows/windows.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000..d70df25 --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,24 @@ +name: Windows + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + + runs-on: windows-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: configure + run: cmake . + + - name: build + run: cmake --build . -j4 From 74812ffedde7c3f8fed3cee69658fd8a12850fa7 Mon Sep 17 00:00:00 2001 From: Leonardo Lima Date: Wed, 21 Oct 2020 18:49:02 -0300 Subject: [PATCH 4/4] Implemented CI badges --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1c70ae9..d3d0837 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # Etc2Comp - Texture to ETC2 compressor +![Ubuntu](https://github.com/google/etc2comp-1/workflows/Ubuntu/badge.svg) +![MacOS](https://github.com/google/etc2comp-1/workflows/MacOS/badge.svg) +![Windows](https://github.com/google/etc2comp-1/workflows/Windows/badge.svg) + Etc2Comp is a command line tool that converts textures (e.g. bitmaps) into the [ETC2](https://en.wikipedia.org/wiki/Ericsson_Texture_Compression) format. The tool is built with a focus on encoding performance