diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml new file mode 100644 index 0000000..914fd65 --- /dev/null +++ b/.github/workflows/development.yml @@ -0,0 +1,33 @@ +name: Development + +on: [push, pull_request] + +jobs: + test: + name: ${{matrix.ruby}} on ${{matrix.os}} + runs-on: ${{matrix.os}}-latest + + strategy: + matrix: + os: + - ubuntu + - macos + + ruby: + - "3.1" + + steps: + - uses: actions/checkout@v2 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{matrix.ruby}} + bundler-cache: true + + - uses: kurocha/setup-cpp@master + + - name: Run tests + timeout-minutes: 5 + run: | + gem install teapot + teapot fetch + teapot build Test/Buffers diff --git a/.gitignore b/.gitignore index 6796ebc..dce269b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ teapot/ +test/buffer.bin +test/buffer.txt diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3b86dba..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -# Setup the environment: -dist: xenial - -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - libc++-dev - -matrix: - include: - - compiler: clang - - compiler: gcc - env: TARGETS="compiler-gcc" - -install: - - gem install teapot - -# Run tests: -script: - - teapot fetch - - teapot build Test/Buffers $TARGETS diff --git a/development-lock.yml b/development-lock.yml new file mode 100644 index 0000000..6a9fa1f --- /dev/null +++ b/development-lock.yml @@ -0,0 +1,43 @@ +--- +platforms: + :commit: 53bfdd34201790980ba8f4c335dbf659d038eb06 + :branch: master +build-files: + :commit: 2e5392ef4e171885b621288c7829e5160f1255bf + :branch: master +unit-test: + :commit: 10505017a6360a47b79699c673ee834b5ba73eb5 + :branch: master +generate-project: + :commit: 2515e20b576c1a7dc5c5d2c1e14dea06ff5159ab + :branch: master +generate-travis: + :commit: 25acb6c2650d6818d1055c33d8e307d3b6be0f74 + :branch: master +generate-cpp-class: + :commit: b8996bd1404904a737b76d6893fc9f9bf78da540 + :branch: master +variants: + :commit: f6a26a8ac3a47a23a213cbd15da2183239d394d1 + :branch: master +platform-linux: + :commit: 3619b22cfc66fd0691a8e747d1c5d445ac4cb9a6 + :branch: master +build-clang: + :commit: 89942e92e5ac6ffb10faa9cd2d4858903bd28d4f + :branch: master +build-linux: + :commit: 1d9e9a5ade9b5817dd9f5c2cb4f5f43883a64c66 + :branch: master +streams: + :commit: 2f9141de26e5331ab35fc91c03ab6a60317bbf7c + :branch: master +generate-template: + :commit: ad0dcfb6da64cc0508b71916b30e1050c82ecea7 + :branch: master +executor-unix: + :commit: 36fe76d003e45c97cfb1d9d2726c17a33f28cad5 + :branch: master +executor-lldb: + :commit: 75f65ccadcf08aaed5694870c31556fbd656427a + :branch: master diff --git a/test/Buffers/Test.Buffer.cpp b/test/Buffers/Buffer.cpp similarity index 100% rename from test/Buffers/Test.Buffer.cpp rename to test/Buffers/Buffer.cpp diff --git a/test/Buffers/Test.DynamicBuffer.cpp b/test/Buffers/DynamicBuffer.cpp similarity index 100% rename from test/Buffers/Test.DynamicBuffer.cpp rename to test/Buffers/DynamicBuffer.cpp diff --git a/test/Buffers/Test.InputStream.cpp b/test/Buffers/InputStream.cpp similarity index 100% rename from test/Buffers/Test.InputStream.cpp rename to test/Buffers/InputStream.cpp diff --git a/test/Buffers/Test.MappedBuffer.cpp b/test/Buffers/MappedBuffer.cpp similarity index 100% rename from test/Buffers/Test.MappedBuffer.cpp rename to test/Buffers/MappedBuffer.cpp diff --git a/test/Buffers/Test.OutputStream.cpp b/test/Buffers/OutputStream.cpp similarity index 100% rename from test/Buffers/Test.OutputStream.cpp rename to test/Buffers/OutputStream.cpp diff --git a/test/Buffers/Test.PackedBuffer.cpp b/test/Buffers/PackedBuffer.cpp similarity index 100% rename from test/Buffers/Test.PackedBuffer.cpp rename to test/Buffers/PackedBuffer.cpp diff --git a/test/Buffers/Test.StaticBuffer.cpp b/test/Buffers/StaticBuffer.cpp similarity index 100% rename from test/Buffers/Test.StaticBuffer.cpp rename to test/Buffers/StaticBuffer.cpp